mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Implemented new recursion in test
This commit is contained in:
parent
9076505656
commit
a92ac68750
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Tests\Unit\Domain;
|
namespace Tests\Unit\Domain\SourceManagement;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use App\Entity\Source\Collection\TreeCollectionSource;
|
use App\Entity\Source\Collection\TreeCollectionSource;
|
||||||
@ -22,7 +22,7 @@ class TreeSourceServiceTest extends TestCase
|
|||||||
$tree2 = new TreeCollectionSource();
|
$tree2 = new TreeCollectionSource();
|
||||||
$tree3 = new TreeCollectionSource();
|
$tree3 = new TreeCollectionSource();
|
||||||
$tree4 = new TreeCollectionSource();
|
$tree4 = new TreeCollectionSource();
|
||||||
$tree5 = new TreeCollectionSource();
|
$tree5 = new TreeCollectionSource(new ArrayCollection([$tree2]));
|
||||||
$leave1 = $this->createMock(SourceInterface::class);
|
$leave1 = $this->createMock(SourceInterface::class);
|
||||||
$leave2 = $this->createMock(SourceInterface::class);
|
$leave2 = $this->createMock(SourceInterface::class);
|
||||||
$leave3 = $this->createMock(SourceInterface::class);
|
$leave3 = $this->createMock(SourceInterface::class);
|
Loading…
Reference in New Issue
Block a user