Implemented draft for PureSourceCreateType Test and adapted classes to it

This commit is contained in:
Kevin Frantz committed 2019-02-13 18:03:25 +01:00
1 parent aafde4c0f9
commit 1bc85c994e
14 files changed
+93 -22

No files matched your search

@@ -52,8 +52,7 @@ class UserSourceRepositoryTest extends KernelTestCase
$this->assertGreaterThan(0, $insertSource->getId());
$this->entityManager->remove($insertSource);
$this->entityManager->flush();
$this->expectException(\TypeError::class);
$insertSource->getId();
$this->assertNull($insertSource->getId());
}
public function testCreation(): void