#29: add more tests
All checks were successful
/ ls (pull_request) Successful in 37s
/ ls (push) Successful in 32s

This commit is contained in:
lubiana 2024-07-10 22:18:56 +02:00
parent c4cd275c83
commit 9afa7fe431
No known key found for this signature in database
8 changed files with 331 additions and 184 deletions

View file

@ -2,16 +2,9 @@
namespace App\Tests\Controller;
use App\Entity\FoodOrder;
use App\Entity\FoodVendor;
use App\Entity\MenuItem;
use App\Entity\OrderItem;
use App\Repository\MenuItemRepository;
use App\Tests\DbWebTest;
use Override;
use function sprintf;
final class HomeControllerTest extends DbWebTest
{
public function testIndex(): void
@ -43,7 +36,6 @@ final class HomeControllerTest extends DbWebTest
self::assertResponseCookieValueSame('username', 'Testing-1');
}
public function testRemoveUsername(): void
{
$this->client->request(