Rename sample test, remove unit test

This commit is contained in:
2022-09-05 12:19:04 +02:00
parent 71781bb664
commit 414a569c7f
4 changed files with 15 additions and 42 deletions

View File

@ -5,9 +5,6 @@
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>

View File

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

View File

@ -0,0 +1,15 @@
<?php
namespace Tests\Feature;
use Tests\TestCase;
class HomepageReachabilityTest extends TestCase
{
public function test_homepage_is_reachable()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

View File

@ -1,18 +0,0 @@
<?php
namespace Tests\Unit;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function test_that_true_is_true()
{
$this->assertTrue(true);
}
}