コード例 #1
0
 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());
 }
コード例 #2
0
 public function testSlideshow()
 {
     $response = $this->controller->slideshow();
     $this->assertEquals('slideshow', $response->getTemplateName());
     $this->assertTrue($response instanceof TemplateResponse);
 }