inti project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\Api;
|
||||
|
||||
use App\Support\Api\ApiResponse;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class Phase8ApiEnvelopeTest extends TestCase
|
||||
{
|
||||
public function test_api_response_class_exists(): void
|
||||
{
|
||||
$this->assertTrue(class_exists(ApiResponse::class));
|
||||
}
|
||||
|
||||
public function test_route_inventory_fixture_exists(): void
|
||||
{
|
||||
$path = dirname(__DIR__, 3).'/storage/app/generated/api-route-inventory.json';
|
||||
$this->assertFileExists($path);
|
||||
$this->assertStringContainsString('api.v2', file_get_contents($path));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user