diff --git a/src/modules/Staff/tests/Unit/Api/AdminTest.php b/src/modules/Staff/tests/Unit/Api/AdminTest.php index a4249c625..faeea3dbc 100644 --- a/src/modules/Staff/tests/Unit/Api/AdminTest.php +++ b/src/modules/Staff/tests/Unit/Api/AdminTest.php @@ -197,7 +197,7 @@ test('change password', function (): void { $api->setService($serviceMock); $result = $api->change_password($data); - expect(true)->toBeTrue(); + expect($result)->toBeTrue(); }); test('change password password do not match', function (): void { @@ -270,7 +270,7 @@ test('group get pairs', function (): void { expect($result)->toBeArray(); }); -test('group can manage structure', function (): void { +test('is super administrator returns true when admin is super administrator', function (): void { $api = new Box\Mod\Staff\Api\Admin(); $admin = staffAdminIdentity(); $admin->id = 1;