1 | <?php |
||
25 | class PagesControllerTest extends TestCase |
||
26 | { |
||
27 | use KumbiaTestTrait; |
||
28 | |||
29 | /** |
||
30 | * testDisplay method |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function testDisplay() |
||
41 | /** |
||
42 | * |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function testDisplayNoAction() |
||
53 | /** |
||
54 | * expectedException KumbiaException |
||
55 | */ |
||
56 | //public function testDisplayNoPage() |
||
57 | //{ |
||
58 | //$this->expectException(KumbiaException::class); |
||
59 | //$actual = $this->get('/pages/no_page/'); |
||
60 | //$this->assertResponseCode(404); |
||
61 | //$this->assertContains('<h1>Vista "pages/no_page.phtml" no encontrada</h1>', $actual); |
||
62 | //$this->assertResponseCode(404); |
||
63 | //$this->expectException(KumbiaException::class); |
||
64 | |||
65 | //} |
||
66 | } |
||
67 |