mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
In between commit Exception refactoring
This commit is contained in:
@@ -6,7 +6,7 @@ use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Attribut\LayerAttributInterface;
|
||||
use Infinito\Attribut\LayerAttribut;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Exception\NoValidChoiceException;
|
||||
use Infinito\Exception\Type\InvalidChoiceTypeException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -37,7 +37,7 @@ class LayerAttributTest extends TestCase
|
||||
$this->assertNull($this->layerAttribut->setLayer($enum));
|
||||
$this->assertEquals($enum, $this->layerAttribut->getLayer());
|
||||
}
|
||||
$this->expectException(NoValidChoiceException::class);
|
||||
$this->expectException(InvalidChoiceTypeException::class);
|
||||
$this->layerAttribut->setLayer('NoneValidLayer');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user