From 6efff2264b8192e256c0a308273e0c2d2707c549 Mon Sep 17 00:00:00 2001 From: Hrvoje Date: Wed, 13 Jan 2021 20:23:12 +0100 Subject: [PATCH] Fixed new test case --- tests/Phinx/Console/Command/SeedCreateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Phinx/Console/Command/SeedCreateTest.php b/tests/Phinx/Console/Command/SeedCreateTest.php index fe3efc67a..89e295582 100644 --- a/tests/Phinx/Console/Command/SeedCreateTest.php +++ b/tests/Phinx/Console/Command/SeedCreateTest.php @@ -140,7 +140,7 @@ public function testAlternativeTemplate() $this->assertFileExists($match['SeedFilename'], 'Failed to create seed file from template generator'); // Does the migration match our expectation? - $expectedMigration = "useClassName Phinx\\Seed\\AbstractSeed / className {$commandLine['name']} / version {$match['Version']} / baseClassName AbstractSeed"; + $expectedMigration = "useClassName Phinx\\Seed\\AbstractSeed / className {$commandLine['name']} / baseClassName AbstractSeed"; $this->assertStringEqualsFile($match['SeedFilename'], $expectedMigration, 'Failed to create seed file from template generator correctly.'); } }