Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 3 | ||
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 | $this->assertContains('<section class="aimeos checkout-confirm"', $response->getContent()); |
||
13 | } |
||
14 | |||
15 | |||
16 | public function testIndexAction() |
||
17 | { |
||
18 | View::addLocation(dirname(__DIR__).'/fixtures/views'); |
||
19 | |||
20 | $response = $this->action('GET', '\Aimeos\Shop\Controller\CheckoutController@indexAction', ['site' => 'unittest']); |
||
21 | |||
22 | $this->assertResponseOk(); |
||
23 | $this->assertContains('<section class="checkout-standard-address"', $response->getContent()); |
||
24 | } |
||
25 | |||
26 | |||
27 | public function testUpdateAction() |
||
35 | } |
||
36 | } |