Skip to content

Commit

Permalink
Fix test docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 9, 2024
1 parent f8cbce7 commit a2f59bb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/unit/classes/MigrationFileParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class MigrationFileParserTest extends BuilderPluginTestCase
{
/**
* @testdox can extract the migration info from an update script.
* @testdox can determine if a file is a migration class definition.
*/
public function testIsMigration()
{
Expand All @@ -30,6 +30,9 @@ public function testIsMigration()
$this->assertFalse($notAMigration->isMigration());
}

/**
* @testdox can determine if a file is an anonymous class definition.
*/
public function testIsAnonymous()
{
$firstMigration = MigrationFileParser::fromFile(
Expand All @@ -47,6 +50,9 @@ public function testIsAnonymous()
$this->assertTrue($notAMigration->isAnonymous());
}

/**
* @testdox can get the namespace of a class.
*/
public function testGetNamespace()
{
$firstMigration = MigrationFileParser::fromFile(
Expand All @@ -64,6 +70,9 @@ public function testGetNamespace()
$this->assertNull($notAMigration->getNamespace());
}

/**
* @testdox can get the class name of a class.
*/
public function testGetClassName()
{
$firstMigration = MigrationFileParser::fromFile(
Expand Down

0 comments on commit a2f59bb

Please sign in to comment.