Skip to content

Commit

Permalink
Update example test
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jul 26, 2024
1 parent 0249d0e commit fe7efd6
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,29 @@
class ExampleTest extends TestCase
{
/**
* A basic test example.
* Test the root route ("/") returns a successful response.
*/
public function test_the_application_returns_a_successful_response(): void
public function test_the_root_route_returns_a_successful_response(): void
{
$response = $this->get('/');
$response->assertStatus(200);
}

/**
* Test the "/app" route returns a successful response.
*/
public function test_the_app_route_returns_a_successful_response(): void
{
$response = $this->get('/app');
$response->assertStatus(200);
}

/**
* Test the "/admin" route returns a successful response.
*/
public function test_the_admin_route_returns_a_successful_response(): void
{
$response = $this->get('/admin');
$response->assertStatus(200);
}
}

0 comments on commit fe7efd6

Please sign in to comment.