Passed
Pull Request — master (#3)
by Franco
01:55
created
tests/controllers/UserControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         /** @var UserInvitation $invitation */
87 87
         $invitation = $this->objFromFixture('UserInvitation', 'expired');
88
-        $response = $this->get($this->controller->Link('accept/' . $invitation->TempHash));
88
+        $response = $this->get($this->controller->Link('accept/'.$invitation->TempHash));
89 89
         $this->assertEquals(302, $response->getStatusCode());
90 90
         $this->assertEquals('/user/expired', $response->getHeader('Location'));
91 91
     }
Please login to merge, or discard this patch.
code/controllers/UserController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function providePermissions()
17 17
     {
18
-         return array(
18
+            return array(
19 19
             'ACCESS_USER_INVITATIONS' => array(
20 20
                 'name' => _t('UserController.ACCESS_PERMISSIONS', 'Allow user invitations'),
21 21
                 'category' => _t('UserController.CMS_ACCESS_CATEGORY', 'User Invitations')
Please login to merge, or discard this patch.