mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 01:09:41 +00:00 
			
		
		
		
	Optimized entity mapping for collections
This commit is contained in:
		| @@ -5,6 +5,7 @@ namespace Tests\Unit\Entity\Source\Collection; | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use App\Entity\Source\Collection\CollectionSourceInterface; | ||||
| use App\Entity\Source\Collection\AbstractCollectionSource; | ||||
| use Doctrine\Common\Collections\Collection; | ||||
|  | ||||
| class AbstractCollectionSourceTest extends TestCase | ||||
| { | ||||
| @@ -21,7 +22,6 @@ class AbstractCollectionSourceTest extends TestCase | ||||
|  | ||||
|     public function testConstruct(): void | ||||
|     { | ||||
|         $this->expectException(\TypeError::class); | ||||
|         $this->collectionSource->getCollection(); | ||||
|         $this->assertInstanceOf(Collection::class, $this->collectionSource->getCollection()); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user