updates for active directory now with docs
tests / ci (push) Canceled after 0s

This commit is contained in:
Mark Gregory
2026-11-11 17:24:54 +00:00
parent 9c3c82e7c6
commit 0ca05c06e3
2 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
use App\Models\User;
use App\Services\ActiveDirectory;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
@@ -247,7 +248,7 @@ it('will neither claim an existing GUID nor deactivate missing users from anothe
it('registers an overlap-protected ten-minute job only when scheduling is enabled', function (bool $enabled) {
config(['ad-sync.scheduled' => $enabled]);
$schedule = new Illuminate\Console\Scheduling\Schedule;
$schedule = new Schedule;
Illuminate\Support\Facades\Schedule::swap($schedule);
require base_path('routes/console.php');