From 1a4eae3ee80a06de8260deca207f2d63bd42037e Mon Sep 17 00:00:00 2001 From: Kim Egede Jakobsen Date: Mon, 25 Aug 2014 15:41:34 +0200 Subject: [PATCH] Renamed testProvider() to ExceptionProvider(). And updated docblock --- tests/TestCase/Error/ExceptionRendererTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestCase/Error/ExceptionRendererTest.php b/tests/TestCase/Error/ExceptionRendererTest.php index 00f0bafa046..f07de54bb4b 100644 --- a/tests/TestCase/Error/ExceptionRendererTest.php +++ b/tests/TestCase/Error/ExceptionRendererTest.php @@ -498,9 +498,9 @@ public function testMissingController() { /** * Returns an array of tests to run for the various Cake Exception classes. * - * @return void + * @return array */ - public static function testProvider() { + public static function exceptionProvider() { return array( array( new MissingActionException(array( @@ -607,7 +607,7 @@ public static function testProvider() { /** * Test the various Cake Exception sub classes * - * @dataProvider testProvider + * @dataProvider exceptionProvider * @return void */ public function testCakeExceptionHandling($exception, $patterns, $code) {