public function testSlideshow() { // Not available on <8.2 //$template = new TemplateResponse($this->appName, 'slideshow', [], 'blank'); $response = $this->controller->slideshow(); $this->assertEquals('slideshow', $response->getTemplateName()); $this->assertTrue($response instanceof TemplateResponse); //$this->assertEquals($template->render(), $response->render()); }
public function testSlideshow() { $response = $this->controller->slideshow(); $this->assertEquals('slideshow', $response->getTemplateName()); $this->assertTrue($response instanceof TemplateResponse); }