mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented getChoices and getValues from Doctrine ENUM on the right way
This commit is contained in:
@@ -29,7 +29,7 @@ class TemplatePathFormAndViewTest extends TestCase
|
||||
|
||||
public function testTypeReload(): void
|
||||
{
|
||||
foreach (RESTResponseType::getChoices() as $type) {
|
||||
foreach (RESTResponseType::getValues() as $type) {
|
||||
$this->templatePathFormAndView->reloadType($type);
|
||||
$this->assertEquals(self::BASE_PATH.$type.'.twig', $this->templatePathFormAndView->getView()->getAtomTemplatePath());
|
||||
}
|
||||
|
Reference in New Issue
Block a user