mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Finished refactoring of exceptions
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
namespace tests\Unit\Domain\TwigManagement;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Exception\Collection\NotSetException;
|
||||
use Infinito\Domain\TwigManagement\LayerIconClassMap;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -14,7 +14,7 @@ class LayerIconClassMapTest extends TestCase
|
||||
{
|
||||
public function testException(): void
|
||||
{
|
||||
$this->expectException(NotSetException::class);
|
||||
$this->expectException(NotSetElementException::class);
|
||||
$this->assertIsString(LayerIconClassMap::getIconClass('123123V'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user