Skip to content

Commit

Permalink
Prepare test suite for PHPUnit 10
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Sep 18, 2023
1 parent 616d3ce commit 635a02b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/vendor
.env
.env.backup
.phpunit.result.cache
/.phpunit.cache
Homestead.json
Homestead.yaml
auth.json
Expand Down
4 changes: 1 addition & 3 deletions tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function test_the_application_returns_a_successful_response()
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');

Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function test_that_true_is_true()
public function test_that_true_is_true(): void
{
$this->assertTrue(true);
}
Expand Down

0 comments on commit 635a02b

Please sign in to comment.