Browse Source

Renamed testProvider() to ExceptionProvider().
And updated docblock

Kim Egede Jakobsen 11 years ago
parent
commit
1a4eae3ee8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/TestCase/Error/ExceptionRendererTest.php

+ 3 - 3
tests/TestCase/Error/ExceptionRendererTest.php

@@ -498,9 +498,9 @@ class ExceptionRendererTest extends TestCase {
 /**
  * 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 @@ class ExceptionRendererTest extends TestCase {
 /**
  * Test the various Cake Exception sub classes
  *
- * @dataProvider testProvider
+ * @dataProvider exceptionProvider
  * @return void
  */
 	public function testCakeExceptionHandling($exception, $patterns, $code) {