| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function testDetail() |
||
| 18 | { |
||
| 19 | $client = static::createClient(); |
||
| 20 | |||
| 21 | $context = $this->getContainer()->get( 'aimeos.context' )->get( false ); |
||
| 22 | $context->setLocale( $this->getContainer()->get( 'aimeos.locale' )->getBackend( $context, 'unittest' ) ); |
||
| 23 | $supplier = \Aimeos\MShop::create( $context, 'supplier' )->find( 'unitSupplier001' ); |
||
|
|
|||
| 24 | |||
| 25 | $crawler = $client->request( 'GET', '/unittest/de/EUR/s/TestSupplier/' . $supplier->getId() ); |
||
| 26 | |||
| 27 | $this->assertEquals( 1, $crawler->filter( '.supplier-detail' )->count() ); |
||
| 28 | } |
||
| 30 |