| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 3 | class CheckoutControllerTest extends AimeosTestAbstract |
||
| 4 | { |
||
| 5 | public function testConfirmAction() |
||
| 6 | { |
||
| 7 | View::addLocation( dirname( __DIR__ ) . '/fixtures/views' ); |
||
| 8 | |||
| 9 | $response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@confirmAction', ['site' => 'unittest'] ); |
||
|
|
|||
| 10 | |||
| 11 | $this->assertResponseOk(); |
||
| 12 | } |
||
| 13 | |||
| 14 | |||
| 15 | public function testIndexAction() |
||
| 16 | { |
||
| 17 | View::addLocation( dirname( __DIR__ ) . '/fixtures/views' ); |
||
| 18 | |||
| 19 | $response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@indexAction', ['site' => 'unittest'] ); |
||
| 20 | |||
| 21 | $this->assertResponseOk(); |
||
| 22 | $this->assertStringContainsString( '<div class="section checkout-standard-address"', $response->getContent() ); |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 26 | public function testUpdateAction() |
||
| 34 | } |
||
| 35 | } |