Skip to content

Commit a2f59bb

Browse files
committed
Fix test docs
1 parent f8cbce7 commit a2f59bb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/unit/classes/MigrationFileParserTest.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class MigrationFileParserTest extends BuilderPluginTestCase
1212
{
1313
/**
14-
* @testdox can extract the migration info from an update script.
14+
* @testdox can determine if a file is a migration class definition.
1515
*/
1616
public function testIsMigration()
1717
{
@@ -30,6 +30,9 @@ public function testIsMigration()
3030
$this->assertFalse($notAMigration->isMigration());
3131
}
3232

33+
/**
34+
* @testdox can determine if a file is an anonymous class definition.
35+
*/
3336
public function testIsAnonymous()
3437
{
3538
$firstMigration = MigrationFileParser::fromFile(
@@ -47,6 +50,9 @@ public function testIsAnonymous()
4750
$this->assertTrue($notAMigration->isAnonymous());
4851
}
4952

53+
/**
54+
* @testdox can get the namespace of a class.
55+
*/
5056
public function testGetNamespace()
5157
{
5258
$firstMigration = MigrationFileParser::fromFile(
@@ -64,6 +70,9 @@ public function testGetNamespace()
6470
$this->assertNull($notAMigration->getNamespace());
6571
}
6672

73+
/**
74+
* @testdox can get the class name of a class.
75+
*/
6776
public function testGetClassName()
6877
{
6978
$firstMigration = MigrationFileParser::fromFile(

0 commit comments

Comments
 (0)