aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-21 22:58:07 +0100
committerGitHub <noreply@github.com>2019-11-21 22:58:07 +0100
commita4106b41d238444262149343a763eea46bbf78be (patch)
tree33f2bdc447e56218fbf7a640c3024e471d5cac6b
parent81664481035e0ed5446a7d55f076c52bfcf95752 (diff)
parent3c1bcd551dddd168434d6d4b8d465629f2ca767b (diff)
downloadnextcloud-server-a4106b41d238444262149343a763eea46bbf78be.tar.gz
nextcloud-server-a4106b41d238444262149343a763eea46bbf78be.zip
Merge pull request #18063 from nextcloud/fix/test/18029
Fix the tests after #18029
-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' &&