Skip to content

Commit

Permalink
Since documentation was reviewed test case naming convention has chan…
Browse files Browse the repository at this point in the history
…ged to `snake_case`. I guess it makes sense to update test stubs for new projects too. (#35735)
  • Loading branch information
Rihards Ščeredins committed Dec 28, 2020
1 parent 7f42f67 commit 0be33de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/stubs/test.stub
Expand Up @@ -13,7 +13,7 @@ class {{ class }} extends TestCase
*
* @return void
*/
public function testExample()
public function test_example()
{
$response = $this->get('/');

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/stubs/test.unit.stub
Expand Up @@ -11,7 +11,7 @@ class {{ class }} extends TestCase
*
* @return void
*/
public function testExample()
public function test_example()
{
$this->assertTrue(true);
}
Expand Down

0 comments on commit 0be33de

Please sign in to comment.