File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1111class 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 (
You can’t perform that action at this time.
0 commit comments