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 -3
View File
@@ -16,8 +16,8 @@ class IpBanQueryService
$query->where('blocked_until', '>', $this->utcNow());
}
if (! empty($filters['search'])) {
$term = '%'.trim((string) $filters['search']).'%';
if (!empty($filters['search'])) {
$term = '%' . trim((string) $filters['search']) . '%';
$query->where('ip_address', 'like', $term);
}
@@ -41,7 +41,6 @@ class IpBanQueryService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}