mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-04 11:17:58 +00:00 
			
		
		
		
	Implemented draft for PureSourceCreateType Test and adapted classes to it
This commit is contained in:
		@@ -22,8 +22,7 @@ class AbstractEntityTest extends TestCase
 | 
			
		||||
    public function testConstructor(): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->assertEquals(0, $this->entity->getVersion());
 | 
			
		||||
        $this->expectException(\TypeError::class);
 | 
			
		||||
        $this->entity->getId();
 | 
			
		||||
        $this->assertNull($this->entity->getId());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function testVersion(): void
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,6 @@ class AbstractSourceTest extends TestCase
 | 
			
		||||
 | 
			
		||||
    public function testSlugInit(): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->expectException(\TypeError::class);
 | 
			
		||||
        $this->source->getSlug();
 | 
			
		||||
        $this->assertNull($this->source->getSlug());
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user