From 3c1bcd551dddd168434d6d4b8d465629f2ca767b Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Nov 2019 22:31:45 +0100 Subject: [PATCH] Fix the tests after #18029 Signed-off-by: Roeland Jago Douma --- tests/lib/User/SessionTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php index 4c79fe7942..a60f89fb45 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' &&