Fix the tests after #18029

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-21 22:31:45 +01:00
parent 8166448103
commit 3c1bcd551d
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 2 deletions

View File

@ -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' &&