mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 09:12:09 +00:00
Changed injection method from class to interface
This commit is contained in:
1 parent
c0113ecd32
commit
06053c6bcf
2 files changed
+4
-6
No files matched your search
+1
-2
@@ -4,7 +4,6 @@ namespace tests\Integration\Domain\RequestManagement\Entity;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use App\Domain\RequestManagement\Entity\RequestedEntityServiceInterface;
|
||||
use App\Domain\RequestManagement\Entity\RequestedEntityService;
|
||||
use App\Entity\Source\AbstractSource;
|
||||
|
||||
/**
|
||||
@@ -25,7 +24,7 @@ class RequestedEntityServiceIntegrationTest extends KernelTestCase
|
||||
public function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->requestedEntityService = self::$container->get(RequestedEntityService::class);
|
||||
$this->requestedEntityService = self::$container->get(RequestedEntityServiceInterface::class);
|
||||
}
|
||||
|
||||
public function testClassAccessors(): void
|
||||
|
||||
Reference in new issue
Block a user