| @@ -4,7 +4,7 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testIndexAction() | 
| 6 | 6 |  	{ | 
| 7 | -		$response = $this->action('GET', '\Aimeos\Shop\Controller\AdminController@indexAction'); | |
| 7 | + $response = $this->action( 'GET', '\Aimeos\Shop\Controller\AdminController@indexAction' ); | |
| 8 | 8 | |
| 9 | 9 | $this->assertEquals( '302', $response->getStatusCode() ); | 
| 10 | 10 | } | 
| @@ -4,15 +4,15 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testGet() | 
| 6 | 6 |  	{ | 
| 7 | -		$aimeos = $this->app->make('\Aimeos\Shop\Base\Aimeos'); | |
| 7 | + $aimeos = $this->app->make( '\Aimeos\Shop\Base\Aimeos' ); | |
| 8 | 8 | |
| 9 | -		$configMock = $this->getMockBuilder('\Illuminate\Config\Repository') | |
| 10 | -			->setMethods( array('get') )->getMock(); | |
| 9 | + $configMock = $this->getMockBuilder( '\Illuminate\Config\Repository' ) | |
| 10 | + ->setMethods( array( 'get' ) )->getMock(); | |
| 11 | 11 | |
| 12 | -		$configMock->expects( $this->exactly(4) )->method('get') | |
| 12 | + $configMock->expects( $this->exactly( 4 ) )->method( 'get' ) | |
| 13 | 13 | ->will( $this->onConsecutiveCalls( true, 'laravel:', array(), array() ) ); | 
| 14 | 14 | |
| 15 | - $object = new \Aimeos\Shop\Base\Config($configMock, $aimeos); | |
| 15 | + $object = new \Aimeos\Shop\Base\Config( $configMock, $aimeos ); | |
| 16 | 16 | |
| 17 | 17 | $this->assertInstanceOf( '\Aimeos\MW\Config\Iface', $object->get() ); | 
| 18 | 18 | } | 
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 |  { | 
| 6 | 6 | public function testCreateNoLocale() | 
| 7 | 7 |  	{ | 
| 8 | -		$config = $this->getMockBuilder('\Illuminate\Config\Repository')->getMock(); | |
| 8 | + $config = $this->getMockBuilder( '\Illuminate\Config\Repository' )->getMock(); | |
| 9 | 9 | |
| 10 | 10 | $i18n = $this->getMockBuilder( '\Aimeos\Shop\Base\I18n' ) | 
| 11 | 11 | ->disableOriginalConstructor() | 
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testGetNoLocale() | 
| 6 | 6 |  	{ | 
| 7 | -		$session = $this->getMockBuilder('\Illuminate\Session\Store')->disableOriginalConstructor()->getMock(); | |
| 7 | + $session = $this->getMockBuilder( '\Illuminate\Session\Store' )->disableOriginalConstructor()->getMock(); | |
| 8 | 8 | $config = $this->app->make( '\Aimeos\Shop\Base\Config' ); | 
| 9 | 9 | $locale = $this->app->make( '\Aimeos\Shop\Base\Locale' ); | 
| 10 | 10 | $i18n = $this->app->make( '\Aimeos\Shop\Base\I18n' ); | 
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testGetBackend() | 
| 6 | 6 |  	{ | 
| 7 | -		$mock = $this->getMockBuilder('\Illuminate\Config\Repository')->getMock(); | |
| 7 | + $mock = $this->getMockBuilder( '\Illuminate\Config\Repository' )->getMock(); | |
| 8 | 8 | $context = $this->app->make( '\Aimeos\Shop\Base\Context' )->get( false, 'backend' ); | 
| 9 | 9 | |
| 10 | 10 | $object = new \Aimeos\Shop\Base\Locale( $mock ); | 
| @@ -4,19 +4,19 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testGet() | 
| 6 | 6 |  	{ | 
| 7 | -		$aimeos = $this->app->make('\Aimeos\Shop\Base\Aimeos'); | |
| 7 | + $aimeos = $this->app->make( '\Aimeos\Shop\Base\Aimeos' ); | |
| 8 | 8 | |
| 9 | -		$configMock = $this->getMockBuilder('\Illuminate\Config\Repository') | |
| 10 | -			->setMethods( array('get', 'has') )->getMock(); | |
| 9 | + $configMock = $this->getMockBuilder( '\Illuminate\Config\Repository' ) | |
| 10 | + ->setMethods( array( 'get', 'has' ) )->getMock(); | |
| 11 | 11 | |
| 12 | -		$configMock->expects( $this->once() )->method('has') | |
| 13 | - ->will( $this->returnValue(true) ); | |
| 12 | + $configMock->expects( $this->once() )->method( 'has' ) | |
| 13 | + ->will( $this->returnValue( true ) ); | |
| 14 | 14 | |
| 15 | -		$configMock->expects( $this->exactly(3) )->method('get') | |
| 15 | + $configMock->expects( $this->exactly( 3 ) )->method( 'get' ) | |
| 16 | 16 | ->will( $this->onConsecutiveCalls( true, 'laravel:', array() ) ); | 
| 17 | 17 | |
| 18 | - $object = new \Aimeos\Shop\Base\I18n($configMock, $aimeos); | |
| 19 | -		$list = $object->get( array('en') ); | |
| 18 | + $object = new \Aimeos\Shop\Base\I18n( $configMock, $aimeos ); | |
| 19 | + $list = $object->get( array( 'en' ) ); | |
| 20 | 20 | |
| 21 | 21 | $this->assertInstanceOf( '\Aimeos\MW\Translation\Iface', $list['en'] ); | 
| 22 | 22 | } | 
| @@ -4,14 +4,14 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testGet() | 
| 6 | 6 |  	{ | 
| 7 | -		$object = $this->app->make('\Aimeos\Shop\Base\Aimeos')->get(); | |
| 7 | + $object = $this->app->make( '\Aimeos\Shop\Base\Aimeos' )->get(); | |
| 8 | 8 | $this->assertInstanceOf( '\Aimeos\Bootstrap', $object ); | 
| 9 | 9 | } | 
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | public function testGetVersion() | 
| 13 | 13 |  	{ | 
| 14 | -		$object = $this->app->make('\Aimeos\Shop\Base\Aimeos'); | |
| 14 | + $object = $this->app->make( '\Aimeos\Shop\Base\Aimeos' ); | |
| 15 | 15 | $this->assertInternalType( 'string', $object->getVersion() ); | 
| 16 | 16 | } | 
| 17 | 17 | } | 
| @@ -4,6 +4,6 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testSetupCommand() | 
| 6 | 6 |  	{ | 
| 7 | -		$this->assertEquals(0, $this->artisan('aimeos:cache', array('site' => 'unittest'))); | |
| 7 | + $this->assertEquals( 0, $this->artisan( 'aimeos:cache', array( 'site' => 'unittest' ) ) ); | |
| 8 | 8 | } | 
| 9 | 9 | } | 
| @@ -4,6 +4,6 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | public function testJobsCommand() | 
| 6 | 6 |  	{ | 
| 7 | -		$this->assertEquals(0, $this->artisan('aimeos:jobs', array('jobs' => 'customer/email/watch', 'site' => 'unittest'))); | |
| 7 | + $this->assertEquals( 0, $this->artisan( 'aimeos:jobs', array( 'jobs' => 'customer/email/watch', 'site' => 'unittest' ) ) ); | |
| 8 | 8 | } | 
| 9 | 9 | } |