mep
This commit is contained in:
parent
e958163a4a
commit
b8a5a1ff58
79 changed files with 15113 additions and 0 deletions
26
tests/Feature/DatabaseTest.php
Normal file
26
tests/Feature/DatabaseTest.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Override;
|
||||
use Tests\TestCase;
|
||||
use App\Repository\DrinkTypeRepository;
|
||||
|
||||
class DatabaseTest extends TestCase
|
||||
{
|
||||
#[Override]
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->setUpDB();
|
||||
}
|
||||
public function testDatabase(): void
|
||||
{
|
||||
/** @var DrinkTypeRepository $drinkRepository */
|
||||
$drinkRepository = $this->container->get(DrinkTypeRepository::class);
|
||||
|
||||
$this->assertCount(0, $drinkRepository->findAll());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue