add child creation
This commit is contained in:
parent
7c84eefe78
commit
34b0fd0b44
7 changed files with 332 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ namespace Tests\Unit\Controllers;
|
|||
use App\Controllers\ElementController;
|
||||
use App\Element\CreateElementDto;
|
||||
use App\Element\Element;
|
||||
use App\Element\UseCases\CreateChildElement\CreateChildElement;
|
||||
use App\Element\UseCases\GetElement\GetElement;
|
||||
use App\Element\UseCases\UpdateElement\UpdateDescription;
|
||||
use App\Element\UseCases\UpdateElement\UpdateElement;
|
||||
|
|
@ -61,6 +62,7 @@ class ElementControllerTest extends TestCase
|
|||
);
|
||||
$this->controller = new ElementController(
|
||||
$getElement,
|
||||
new CreateChildElement($this->elementRepo),
|
||||
$updateElement,
|
||||
$this->fileUploader,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue