mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-17 09:01:06 +02:00
Complete merge with refactoring for better integration
This commit is contained in:
@ -523,21 +523,6 @@ class UserManagerControllerTest extends FeatureTestCase
|
||||
->assertForbidden();
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function test_authLog_events_are_listened_by_authLog_listeners()
|
||||
{
|
||||
Event::fake();
|
||||
|
||||
foreach (config('authentication-log.listeners') as $type => $listenerClass) {
|
||||
Event::assertListening(
|
||||
config('authentication-log.events.' . $type),
|
||||
$listenerClass
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Local feeder because Factory cannot be used here
|
||||
*/
|
||||
|
Reference in New Issue
Block a user