summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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' &&