mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-04 11:17:58 +00:00 
			
		
		
		
	Implemented getChoices and getValues from Doctrine ENUM on the right way
This commit is contained in:
		@@ -52,7 +52,7 @@ class TemplatePathInformationTest extends TestCase
 | 
			
		||||
 | 
			
		||||
    public function testSetType(): void
 | 
			
		||||
    {
 | 
			
		||||
        foreach (RESTResponseType::getChoices() as $type) {
 | 
			
		||||
        foreach (RESTResponseType::getValues() as $type) {
 | 
			
		||||
            $this->templateMeta->reloadType($type);
 | 
			
		||||
            $this->assertEquals($this->getExpectedPath($type, 'atom'), $this->templateMeta->getAtomTemplatePath());
 | 
			
		||||
            $this->assertEquals($this->getExpectedPath($type, 'molecule'), $this->templateMeta->getMoleculeTemplatePath());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user