mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-25 10:20:38 +00:00
- client and invoice scaffolding
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Oasis;
|
||||
|
||||
use App\Models\Oasis\Client;
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Tests\TestCase;
|
||||
|
||||
class OasisClientTest extends TestCase
|
||||
{
|
||||
use DatabaseMigrations;
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function it_test_client_factory()
|
||||
{
|
||||
$client = Client::factory(Client::class)
|
||||
->create();
|
||||
|
||||
$this->assertDatabaseHas('clients', [
|
||||
'name' => $client->name,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user