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
@@ -39,7 +39,7 @@ class ConfigurationAdminController extends BaseApiController
public function update(ConfigurationUpdateRequest $request, int $id): JsonResponse
{
$config = $this->service->update($id, $request->validated());
if (! $config) {
if (!$config) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}
@@ -52,7 +52,7 @@ class ConfigurationAdminController extends BaseApiController
public function destroy(int $id): JsonResponse
{
$deleted = $this->service->delete($id);
if (! $deleted) {
if (!$deleted) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}
@@ -62,7 +62,7 @@ class ConfigurationAdminController extends BaseApiController
public function getByKey(string $configKey): JsonResponse
{
$config = $this->service->getByKey($configKey);
if (! $config) {
if (!$config) {
return response()->json(['ok' => false, 'message' => 'Configuration not found.'], 404);
}