Validate unit testing is working

This commit is contained in:
Deon George
2023-01-27 22:16:25 +11:00
parent daeea9a1f6
commit 210793e814
5 changed files with 21 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
namespace Tests\Feature;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
@@ -11,9 +12,9 @@ class ExampleTest extends TestCase
*
* @return void
*/
public function testBasicTest()
public function test_the_application_returns_a_successful_response()
{
$response = $this->get('/home');
$response = $this->get('/');
$response->assertStatus(200);
}