Skip to content

Commit

Permalink
Renamed testProvider() to ExceptionProvider().
Browse files Browse the repository at this point in the history
And updated docblock
  • Loading branch information
kimegede committed Aug 25, 2014
1 parent 17d8b94 commit 1a4eae3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/Error/ExceptionRendererTest.php
Expand Up @@ -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(
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1a4eae3

Please sign in to comment.