| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| 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\BasketController@indexAction', ['site' => 'unittest'] ); |
||
| 10 | |||
| 11 | $this->assertResponseOk(); |
||
| 12 | $this->assertStringContainsString( '<div class="section aimeos basket-standard"', $response->getContent() ); |
||
| 13 | $this->assertStringContainsString( '<div class="section aimeos basket-related"', $response->getContent() ); |
||
| 14 | } |
||
| 15 | } |