Skip to content

Commit 4df1fe1

Browse files
committed
Update tests.rst
1 parent d4907ca commit 4df1fe1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

best_practices/tests.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ A functional test can be as easy as this:
3838
3939
class ApplicationAvailabilityFunctionalTest extends WebTestCase
4040
{
41-
/** @dataProvider provideUrls */
41+
/**
42+
* @dataProvider urlProvider
43+
*/
4244
public function testPageIsSuccessful($url)
4345
{
4446
$client = self::createClient();
@@ -47,7 +49,7 @@ A functional test can be as easy as this:
4749
$this->assertTrue($client->getResponse()->isSuccessful());
4850
}
4951
50-
public function provideUrls()
52+
public function urlProvider()
5153
{
5254
return array(
5355
array('/'),

0 commit comments

Comments
 (0)