Completed
Push — develop ( b0c1cf...96d23e )
by Christoffer
05:18
created
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\UnitTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/unit/OAuth2ServiceTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,15 +34,15 @@
 block discarded – undo
34 34
      */
35 35
     public function testAssertIssueAccessToken()
36 36
     {
37
-       $this->specify('verify service issueAccessToken', function () {
38
-           $authorizationServer = $this->createAuthorizationServer();
39
-           $authorizationServer->expects($this->once())
40
-               ->method('issueAccessToken')
41
-               ->will($this->returnValue(self::$token));
37
+        $this->specify('verify service issueAccessToken', function () {
38
+            $authorizationServer = $this->createAuthorizationServer();
39
+            $authorizationServer->expects($this->once())
40
+                ->method('issueAccessToken')
41
+                ->will($this->returnValue(self::$token));
42 42
 
43
-           $service = new OAuth2Service($authorizationServer, $this->createResourceServer());
44
-           verify($service->issueAccessToken())->equals(self::$token);
45
-       });
43
+            $service = new OAuth2Service($authorizationServer, $this->createResourceServer());
44
+            verify($service->issueAccessToken())->equals(self::$token);
45
+        });
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
tests/unit/OAuth2MiddlewareTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
      */
35 35
     public function testAssertValidAccessToken()
36 36
     {
37
-       $this->specify('verify middleware valid access token', function () {
38
-           $_SERVER['HTTP_AUTHORIZATION'] = 'Bearer mF_9.B5f-4.1JqM';
39
-           $middleware = new OAuth2Middleware();
40
-           verify($middleware->handle($this->createRequest(), function () { return true; }))->equals(true);
41
-       });
37
+        $this->specify('verify middleware valid access token', function () {
38
+            $_SERVER['HTTP_AUTHORIZATION'] = 'Bearer mF_9.B5f-4.1JqM';
39
+            $middleware = new OAuth2Middleware();
40
+            verify($middleware->handle($this->createRequest(), function () { return true; }))->equals(true);
41
+        });
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.