@@ -85,7 +85,7 @@ |
||
| 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 | } |
@@ -15,7 +15,7 @@ |
||
| 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') |