mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 09:12:09 +00:00
Implemented getChoices and getValues from Doctrine ENUM on the right way
This commit is contained in:
1 parent
0bf7554afb
commit
90df65828c
21 files changed
+29
-29
No files matched your search
@@ -33,7 +33,7 @@ class LayerAttributTest extends TestCase
|
||||
|
||||
public function testAccessors(): void
|
||||
{
|
||||
foreach (LayerType::getChoices() as $enum) {
|
||||
foreach (LayerType::getValues() as $enum) {
|
||||
$this->assertNull($this->layerAttribut->setLayer($enum));
|
||||
$this->assertEquals($enum, $this->layerAttribut->getLayer());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user