diff options
author | Joas Schilling <coding@schilljs.com> | 2018-10-11 15:06:23 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-10-12 12:12:12 +0200 |
commit | 16817f3743cf70010182ff269185e27acf697523 (patch) | |
tree | 27def6493e029f3f6cfba2652aa9df65d7b393d5 /tests | |
parent | b5753d0efab9392d8e7349aadbec530dbd169a74 (diff) | |
download | nextcloud-server-16817f3743cf70010182ff269185e27acf697523.tar.gz nextcloud-server-16817f3743cf70010182ff269185e27acf697523.zip |
Make activity events strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Settings/Activity/SecurityProviderTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Settings/Activity/SecurityProviderTest.php b/tests/Settings/Activity/SecurityProviderTest.php index 0623779735b..98c0c3a096c 100644 --- a/tests/Settings/Activity/SecurityProviderTest.php +++ b/tests/Settings/Activity/SecurityProviderTest.php @@ -103,6 +103,10 @@ class SecurityProviderTest extends TestCase { $event->expects($this->once()) ->method('getSubject') ->willReturn($subject); + $event->method('getSubjectParameters') + ->willReturn([ + 'provider' => 'myProvider', + ]); $event->expects($this->once()) ->method('setParsedSubject'); |