Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-10-11 16:06:23 +0300
committerJoas Schilling <coding@schilljs.com>2018-10-12 13:12:12 +0300
commit16817f3743cf70010182ff269185e27acf697523 (patch)
tree27def6493e029f3f6cfba2652aa9df65d7b393d5 /tests/Settings
parentb5753d0efab9392d8e7349aadbec530dbd169a74 (diff)
Make activity events strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/Activity/SecurityProviderTest.php4
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');