migrate to pest php for testing
This commit is contained in:
parent
2273c91f2b
commit
1a6be07ccd
19 changed files with 1650 additions and 567 deletions
|
@ -2,13 +2,32 @@
|
|||
|
||||
namespace App\Tests\Controller;
|
||||
|
||||
use App\Controller\FoodVendorController;
|
||||
use App\Entity\FoodOrder;
|
||||
use App\Entity\FoodVendor;
|
||||
use App\Entity\MenuItem;
|
||||
use App\Entity\OrderItem;
|
||||
use App\Form\FoodOrderType;
|
||||
use App\Form\FoodVendorType;
|
||||
use App\Repository\FoodOrderRepository;
|
||||
use App\Repository\FoodVendorRepository;
|
||||
use App\Tests\DbWebTest;
|
||||
use App\Tests\Entity\FoodOrderTest;
|
||||
use Override;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
#[CoversClass(FoodOrder::class)]
|
||||
#[CoversClass(FoodOrderTest::class)]
|
||||
#[CoversClass(FoodVendor::class)]
|
||||
#[CoversClass(FoodOrderRepository::class)]
|
||||
#[CoversCLass(MenuItem::class)]
|
||||
#[CoversClass(OrderItem::class)]
|
||||
#[CoversClass(FoodOrderType::class)]
|
||||
#[CoversClass(FoodVendorRepository::class)]
|
||||
#[CoversClass(FoodVendorController::class)]
|
||||
#[CoversClass(FoodVendorType::class)]
|
||||
final class FoodVendorControllerTest extends DbWebTest
|
||||
{
|
||||
private string $path = '/food/vendor/';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue