add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -2,6 +2,7 @@
namespace Tests\Unit\Services\Roles;
use App\Models\User;
use App\Services\Roles\RoleAssignmentService;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
@@ -41,7 +42,7 @@ class RoleAssignmentServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new RoleAssignmentService(new RoleStaffService);
$service = new RoleAssignmentService(new RoleStaffService());
$result = $service->assignRoles($userId, [$roleId], $userId);
$this->assertTrue($result['ok']);