This commit is contained in:
KNaveenraj-ladybird
2023-09-12 18:19:44 +05:30
committed by RafficMohammed
parent 6cebe281e9
commit 06fd163c60
5 changed files with 104 additions and 35 deletions

23
tests/Feature/RouteTest.php Executable file
View File

@@ -0,0 +1,23 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class RouteTest extends TestCase
{
/**
* A basic feature test example.
*
* @return void
*/
public function test_example()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

View File

@@ -0,0 +1,19 @@
<?php
namespace Tests\Unit;
use Tests\TestCase;
class ArtisanCommandTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testRouteListCommand()
{
$this->artisan('route:list')
->assertExitCode(0);
}
}