Fix the tests after #18029
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
8166448103
commit
3c1bcd551d
|
@ -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' &&
|
||||
|
|
Loading…
Reference in New Issue