Browse Source

Fix test on windows.

Mark Story 6 years ago
parent
commit
3498b818fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/View/CellTest.php

+ 1 - 1
tests/TestCase/View/CellTest.php

@@ -212,7 +212,7 @@ class CellTest extends TestCase
         $this->assertNotNull($e);
         $message = $e->getMessage();
         $this->assertStringContainsString(
-            str_replace(DS, '/', "Cell template file `cell/Articles/foo_bar.php` could not be found."),
+            str_replace('/', DS, "Cell template file `cell/Articles/foo_bar.php` could not be found."),
             $message
         );
         $this->assertStringContainsString('The following paths', $message);