This commit is contained in:
lubiana 2025-05-31 21:43:13 +02:00
parent e958163a4a
commit b8a5a1ff58
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
79 changed files with 15113 additions and 0 deletions

View 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());
}
}