Skip to content

Commit 8745815

Browse files
author
Florian Krämer
committed
Fixing MigrationShellTest::testGenerateDump()
1 parent 22e8e75 commit 8745815

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Test/Case/Console/Command/MigrationShellTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,9 @@ public function testGenerateDump() {
791791
foreach ($files as $f) {
792792
unlink($f);
793793
}
794+
794795
$expected = file_get_contents(CakePlugin::path('Migrations') . '/Test/Fixture/test_migration.txt');
796+
$expected = str_replace("\r\n", "\n", $expected);
795797
$this->assertEquals($expected, $result);
796798
}
797799

@@ -873,3 +875,4 @@ protected function _unlink() {
873875
}
874876

875877
}
878+

0 commit comments

Comments
 (0)