mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
refactor: add AuthenticatedUserTrait
This commit is contained in:
@@ -2,16 +2,18 @@
|
||||
|
||||
namespace App\Tests\Controller;
|
||||
|
||||
use ApiPlatform\Symfony\Bundle\Test\ApiTestCase;
|
||||
use App\Entity\Connector;
|
||||
use App\Factory\UserFactory;
|
||||
use App\Tests\AbstractTest;
|
||||
use App\Tests\AuthenticatedUserTrait;
|
||||
use Zenstruck\Foundry\Test\Factories;
|
||||
use Zenstruck\Foundry\Test\ResetDatabase;
|
||||
|
||||
final class ConnectorControllerTest extends AbstractTest
|
||||
final class ConnectorControllerTest extends ApiTestCase
|
||||
{
|
||||
use ResetDatabase;
|
||||
use Factories;
|
||||
use AuthenticatedUserTrait;
|
||||
|
||||
public function testGetConnectorCollection(): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user