Skip to content

Commit

Permalink
Also go to PostLoginEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
stjosh committed Apr 5, 2024
1 parent fe9d7b6 commit cf802c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/AutoGroupsManagerTest.php
Expand Up @@ -25,7 +25,7 @@
namespace OCA\AutoGroups\Tests\Unit;

use OCP\User\Events\UserCreatedEvent;
use OCP\User\Events\UserLoggedInEvent;
use OCP\User\Events\PostLoginEvent;
use OCP\Group\Events\UserAddedEvent;
use OCP\Group\Events\UserRemovedEvent;
use OCP\Group\Events\BeforeGroupDeletedEvent;
Expand Down Expand Up @@ -151,7 +151,7 @@ public function testAlsoLoginHookIfEnabled()
[UserCreatedEvent::class, $this->callback('is_callable')],
[UserAddedEvent::class, $this->callback('is_callable')],
[UserRemovedEvent::class, $this->callback('is_callable')],
[UserLoggedInEvent::class, $this->callback('is_callable')],
[PostLoginEvent::class, $this->callback('is_callable')],
[BeforeGroupDeletedEvent::class, $this->callback('is_callable')]
);

Expand Down

0 comments on commit cf802c9

Please sign in to comment.