mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 21:57:47 +02:00
Set SettingService behind a Facade
This commit is contained in:
@ -142,9 +142,8 @@ class GroupControllerTest extends TestCase
|
||||
{
|
||||
$group = Group::factory()->make();
|
||||
|
||||
$this->mock(SettingService::class, function (MockInterface $mock) {
|
||||
$mock->shouldReceive('get')
|
||||
->with('useEncryption')
|
||||
$settingService = $this->mock(SettingService::class, function (MockInterface $settingService) {
|
||||
$settingService->shouldReceive('get')
|
||||
->andReturn(false);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user