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