add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 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']);