for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class BasketControllerTest extends AimeosTestAbstract
{
public function testActions()
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\BasketController@indexAction', ['site' => 'unittest'] );
$this->assertResponseOk();
$this->assertStringContainsString( '<div class="section aimeos basket-standard"', $response->getContent() );
$this->assertStringContainsString( '<div class="section aimeos basket-related"', $response->getContent() );
}