mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
"Fixing paths in debugger tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6309 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
fd2b4595aa
commit
30f4f74199
1 changed files with 4 additions and 4 deletions
|
@ -56,7 +56,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135
|
|||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588
|
||||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591
|
||||
TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93
|
||||
[main] - CORE/app/webroot/test.php, line 240"
|
||||
[main] - APP/webroot/test.php, line 240"
|
||||
)
|
||||
);
|
||||
$result = str_replace(array("\t", "\r\n", "\n"), "", $result);
|
||||
|
@ -78,7 +78,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135
|
|||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588
|
||||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591
|
||||
TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93
|
||||
[main] - CORE/app/webroot/test.php, line 240"))
|
||||
[main] - APP/webroot/test.php, line 240"))
|
||||
$out = "[empty string]"
|
||||
$expected = array(array("error" => "Notice","code" => "8","description" => "Undefined variable: out","line" => "44","file" => "CORE/cake/tests/cases/libs/debugger.test.php","context" => array("$result = null"),"trace" => "DebuggerTest::testOutput() - CORE/cake/tests/cases/libs/debugger.test.php, line 44
|
||||
SimpleInvoker::invoke() - CORE/vendors/simpletest/invoker.php, line 68
|
||||
|
@ -90,7 +90,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135
|
|||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588
|
||||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591
|
||||
TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93
|
||||
[main] - CORE/app/webroot/test.php, line 240"))
|
||||
[main] - APP/webroot/test.php, line 240"))
|
||||
';
|
||||
$expected .= 'Trace:
|
||||
DebuggerTest::testOutput() - CORE/cake/tests/cases/libs/debugger.test.php, line 67
|
||||
|
@ -103,7 +103,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135
|
|||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588
|
||||
TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591
|
||||
TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93
|
||||
[main] - CORE/app/webroot/test.php, line 240';
|
||||
[main] - APP/webroot/test.php, line 240';
|
||||
|
||||
$result = str_replace(array("\t", "\r\n", "\n"), "", $result);
|
||||
$expected = str_replace(array("\t", "\r\n", "\n"), "", $expected);
|
||||
|
|
Loading…
Add table
Reference in a new issue