Browse Source

Fix tests

ADmad 11 years ago
parent
commit
38f4d734a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Core/ConfigureTest.php

+ 2 - 2
tests/TestCase/Core/ConfigureTest.php

@@ -507,7 +507,7 @@ class ConfigureTest extends TestCase
         $this->assertTrue($result > 0);
         $result = file_get_contents(TMP . 'config_test.php');
         $this->assertContains('<?php', $result);
-        $this->assertContains('$config = ', $result);
+        $this->assertContains('return ', $result);
         if (file_exists(TMP . 'config_test.php')) {
             unlink(TMP . 'config_test.php');
         }
@@ -527,7 +527,7 @@ class ConfigureTest extends TestCase
         $this->assertTrue($result > 0);
         $result = file_get_contents(TMP . 'config_test.php');
         $this->assertContains('<?php', $result);
-        $this->assertContains('$config = ', $result);
+        $this->assertContains('return ', $result);
         $this->assertContains('Error', $result);
         $this->assertNotContains('debug', $result);