Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | { |
||
42 | $prodid = \Aimeos\MShop::create( $this->context, 'product' )->find( 'CNC' )->getId(); |
||
43 | |||
44 | $helper = new \Aimeos\MW\View\Helper\Param\Standard( $this->view, array( 'st_pid' => $prodid ) ); |
||
45 | $this->view->addHelper( 'param', $helper ); |
||
46 | |||
47 | $output = $this->object->body(); |
||
48 | $this->assertRegExp( '/"' . $prodid . '".*stock-high/', $output ); |
||
49 | } |
||
50 | } |
||
51 |