diff options
Diffstat (limited to 'apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php')
-rw-r--r-- | apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php index 38d3bd55d11..cfc35e7cb1c 100644 --- a/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php @@ -44,10 +44,10 @@ class BackupCodeStorageTest extends TestCase { $this->notificationManager->expects($this->once()) ->method('markProcessed') ->with($this->callback(function (INotification $notification) { - return $notification->getUser() === $this->testUID && - $notification->getObjectType() === 'create' && - $notification->getObjectId() === 'codes' && - $notification->getApp() === 'twofactor_backupcodes'; + return $notification->getUser() === $this->testUID + && $notification->getObjectType() === 'create' + && $notification->getObjectId() === 'codes' + && $notification->getApp() === 'twofactor_backupcodes'; })); // Create codes |