summaryrefslogtreecommitdiffstats
path: root/tests/lib/User
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 22:31:45 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-21 22:31:45 +0100
commit3c1bcd551dddd168434d6d4b8d465629f2ca767b (patch)
tree33f2bdc447e56218fbf7a640c3024e471d5cac6b /tests/lib/User
parent81664481035e0ed5446a7d55f076c52bfcf95752 (diff)
downloadnextcloud-server-3c1bcd551dddd168434d6d4b8d465629f2ca767b.tar.gz
nextcloud-server-3c1bcd551dddd168434d6d4b8d465629f2ca767b.zip
Fix the tests after #18029
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/User')
-rw-r--r--tests/lib/User/SessionTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php
index 4c79fe7942c..a60f89fb457 100644
--- a/tests/lib/User/SessionTest.php
+++ b/tests/lib/User/SessionTest.php
@@ -258,9 +258,8 @@ class SessionTest extends \Test\TestCase {
->method('prepareUserLogin');
$this->dispatcher->expects($this->once())
- ->method('dispatch')
+ ->method('dispatchTyped')
->with(
- PostLoginEvent::class,
$this->callback(function(PostLoginEvent $e) {
return $e->getUser()->getUID() === 'foo' &&
$e->getPassword() === 'bar' &&