Merge pull request #18063 from nextcloud/fix/test/18029

Fix the tests after #18029
This commit is contained in:
Roeland Jago Douma 2019-11-21 22:58:07 +01:00 committed by GitHub
commit a4106b41d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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