Completed
Push — master ( 2d40eb...7a12ad )
by Aimeos
13:43
created
lib/custom/tests/MW/View/Helper/Response/Laravel5Test.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,29 +17,29 @@
 block discarded – undo
17 17
 
18 18
 	protected function setUp()
19 19
 	{
20
-		if( !class_exists( '\Illuminate\Http\Response' ) ) {
21
-			$this->markTestSkipped( '\Illuminate\Http\Response is not available' );
20
+		if (!class_exists('\Illuminate\Http\Response')) {
21
+			$this->markTestSkipped('\Illuminate\Http\Response is not available');
22 22
 		}
23 23
 
24
-		if( !class_exists( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory' ) ) {
25
-			$this->markTestSkipped( '\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory is not available' );
24
+		if (!class_exists('\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory')) {
25
+			$this->markTestSkipped('\Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory is not available');
26 26
 		}
27 27
 
28 28
 		$view = new \Aimeos\MW\View\Standard();
29
-		$response = new \Illuminate\Http\Response( 'Content' );
29
+		$response = new \Illuminate\Http\Response('Content');
30 30
 
31
-		$this->object = new \Aimeos\MW\View\Helper\Response\Laravel5( $view, $response );
31
+		$this->object = new \Aimeos\MW\View\Helper\Response\Laravel5($view, $response);
32 32
 	}
33 33
 
34 34
 
35 35
 	protected function tearDown()
36 36
 	{
37
-		unset( $this->object, $this->mock );
37
+		unset($this->object, $this->mock);
38 38
 	}
39 39
 
40 40
 
41 41
 	public function testTransform()
42 42
 	{
43
-		$this->assertInstanceOf( '\Aimeos\MW\View\Helper\Response\Laravel5', $this->object->transform() );
43
+		$this->assertInstanceOf('\Aimeos\MW\View\Helper\Response\Laravel5', $this->object->transform());
44 44
 	}
45 45
 }
Please login to merge, or discard this patch.