@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | ->disableOriginalConstructor() |
32 | 32 | ->getMock(); |
33 | 33 | $configuration->expects( $this->once() )->method( 'getConfiguration' ); |
34 | - $this->mock->expects( $this->at(0) )->method( 'get' ) |
|
35 | - ->will( $this->returnValue( $configuration) ); |
|
34 | + $this->mock->expects( $this->at( 0 ) )->method( 'get' ) |
|
35 | + ->will( $this->returnValue( $configuration ) ); |
|
36 | 36 | |
37 | 37 | $this->object = new \Aimeos\MW\View\Engine\Typo3( $this->mock ); |
38 | 38 | } |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | $view->expects( $this->once() )->method( 'render' ) |
62 | 62 | ->will( $this->returnValue( 'test' ) ); |
63 | 63 | |
64 | - $this->mock->expects( $this->at(0) )->method( 'get' ) |
|
65 | - ->will( $this->returnValue( $view) ); |
|
64 | + $this->mock->expects( $this->at( 0 ) )->method( 'get' ) |
|
65 | + ->will( $this->returnValue( $view ) ); |
|
66 | 66 | |
67 | 67 | $result = $this->object->render( $v, 'filepath', array( 'key' => 'value' ) ); |
68 | 68 | $this->assertEquals( 'test', $result ); |
@@ -58,8 +58,7 @@ |
||
58 | 58 | ) { |
59 | 59 | $this->execute( $sql, 'db-customer' ); |
60 | 60 | $this->status( 'done' ); |
61 | - } |
|
62 | - else |
|
61 | + } else |
|
63 | 62 | { |
64 | 63 | $this->status( 'OK' ); |
65 | 64 | } |