From f2970b22a652f4d61e8cd24be2e6d5709c81afae Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 30 Nov 2014 22:47:32 -0500 Subject: [PATCH] Fix failing tests. --- src/Template/Element/exception_stack_trace.ctp | 2 +- tests/TestCase/Error/ExceptionRendererTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Template/Element/exception_stack_trace.ctp b/src/Template/Element/exception_stack_trace.ctp index 2daa468fb14..b7f13f468c9 100644 --- a/src/Template/Element/exception_stack_trace.ctp +++ b/src/Template/Element/exception_stack_trace.ctp @@ -46,7 +46,7 @@ foreach ($error->getTrace() as $i => $stack): toggle arguments - + $line): ?> diff --git a/tests/TestCase/Error/ExceptionRendererTest.php b/tests/TestCase/Error/ExceptionRendererTest.php index 5d99406237e..db9688730bf 100644 --- a/tests/TestCase/Error/ExceptionRendererTest.php +++ b/tests/TestCase/Error/ExceptionRendererTest.php @@ -484,7 +484,7 @@ public static function exceptionProvider() { 'plugin' => '', )), array( - '/

Missing Method in PostsController<\/h2>/', + '/Missing Method in PostsController/', '/PostsController::index\(\)<\/em>/' ), 404