Tighten service test signal
This commit is contained in:
@@ -229,7 +229,7 @@ class PermissionServiceTest extends TestCase
|
||||
->with(10)
|
||||
->willReturn(['id' => 10, 'key' => 'custom.perm', 'active' => 0]);
|
||||
|
||||
$this->permissionRepository->expects($this->any())->method('update')->with(10, $this->isType('array'))->willReturn(true);
|
||||
$this->permissionRepository->expects($this->any())->method('update')->with(10, $this->isArray())->willReturn(true);
|
||||
$this->systemAuditService->expects($this->once())->method('record');
|
||||
|
||||
$result = $this->service->updateFromAdmin(10, $input);
|
||||
|
||||
Reference in New Issue
Block a user