for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class CheckoutControllerTest extends AimeosTestAbstract
{
public function testConfirmAction()
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@confirmAction', ['site' => 'unittest'] );
$response
$this->assertResponseOk();
}
public function testIndexAction()
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@indexAction', ['site' => 'unittest'] );
$this->assertStringContainsString( '<div class="section checkout-standard-address"', $response->getContent() );
public function testUpdateAction()
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@updateAction', ['site' => 'unittest'], ['code' => 'paypalexpress'] );
$this->assertEquals( '', $response->getContent() );