reconstruction of the project

This commit is contained in:
root
2026-03-08 16:33:24 -04:00
parent 23b7db1107
commit c8de5f7edc
9157 changed files with 77877 additions and 1073823 deletions
@@ -0,0 +1,25 @@
<?php
namespace Tests\Concerns;
use App\Models\Configuration;
trait SeedsAdministratorApiConfig
{
protected function seedAdministratorApiConfig(
string $schoolYear = '2025-2026',
string $semester = 'Fall'
): void {
Configuration::unguard();
Configuration::query()->updateOrCreate(
['config_key' => 'school_year'],
['config_value' => $schoolYear]
);
Configuration::query()->updateOrCreate(
['config_key' => 'semester'],
['config_value' => $semester]
);
}
}