mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 09:12:09 +00:00
Implemented draft for PureSourceCreateType Test and adapted classes to it
This commit is contained in:
1 parent
aafde4c0f9
commit
1bc85c994e
14 files changed
+93
-22
No files matched your search
+3
@@ -22,6 +22,8 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
use App\Domain\FormManagement\RequestedActionFormBuilderService;
|
||||
use App\Domain\FormManagement\FormClassNameService;
|
||||
use App\Domain\RequestManagement\Entity\RequestedEntityService;
|
||||
use App\Entity\Source\PureSource;
|
||||
use App\Attribut\ClassAttributInterface;
|
||||
|
||||
/**
|
||||
* @todo Implement test and logic!!!!!
|
||||
@@ -77,6 +79,7 @@ class CreateSourceActionIntegrationTest extends KernelTestCase
|
||||
|
||||
public function testCreateWithGuestUser(): void
|
||||
{
|
||||
$this->request->attributes->set(ClassAttributInterface::CLASS_ATTRIBUT_NAME, PureSource::class);
|
||||
$this->assertInstanceOf(PureSourceInterface::class, $this->createSourceAction->execute());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user