Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | public function testActions() |
||
6 | { |
||
7 | View::addLocation(dirname(__DIR__).'/fixtures/views'); |
||
8 | |||
9 | $response = $this->action('GET', '\Aimeos\Shop\Controller\AccountController@indexAction', ['site' => 'unittest']); |
||
10 | |||
11 | $this->assertResponseOk(); |
||
12 | $this->assertContains('<section class="aimeos account-profile"', $response->getContent()); |
||
13 | $this->assertContains('<section class="aimeos account-history"', $response->getContent()); |
||
14 | $this->assertContains('<section class="aimeos account-favorite"', $response->getContent()); |
||
15 | $this->assertContains('<section class="aimeos account-watch"', $response->getContent()); |
||
16 | } |
||
27 | } |