Skip to content

Commit 1f71d41

Browse files
committed
test: update test cases
1 parent 1496d43 commit 1f71d41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Database/Migrations/MigrationRunnerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function testGetMigrationNameDashes()
192192

193193
$method = $this->getPrivateMethodInvoker($runner, 'getMigrationName');
194194

195-
$this->assertSame('Foo', $method('2019-08-06-235100_Foo'));
195+
$this->assertSame('Foo_bar', $method('2019-08-06-235100_Foo_bar'));
196196
}
197197

198198
public function testGetMigrationNameUnderscores()
@@ -201,7 +201,7 @@ public function testGetMigrationNameUnderscores()
201201

202202
$method = $this->getPrivateMethodInvoker($runner, 'getMigrationName');
203203

204-
$this->assertSame('Foo', $method('2019_08_06_235100_Foo'));
204+
$this->assertSame('Foo_bar', $method('2019_08_06_235100_Foo_bar'));
205205
}
206206

207207
public function testSetSilentStoresValue()

0 commit comments

Comments
 (0)