| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testProduct() |
||
| 17 | { |
||
| 18 | View::addLocation( dirname( __DIR__ ) . '/fixtures/views' ); |
||
| 19 | |||
| 20 | $response = $this->action( 'GET', '\Aimeos\Shop\Controller\ResolveController@indexAction', ['site' => 'unittest', 'path' => 'Cafe_Noire_Cappuccino'] ); |
||
| 21 | |||
| 22 | $this->assertResponseOk(); |
||
| 23 | $this->assertStringContainsString( '<div class="aimeos catalog-detail', $response->getContent() ); |
||
| 24 | } |
||
| 41 | } |