Added Log suppressor API controller.

This commit is contained in:
Abdulmhsen B. A. A.
2024-06-17 13:03:44 +03:00
parent 8452e66b97
commit 20c194ca25
3 changed files with 145 additions and 7 deletions

View File

@@ -16,18 +16,15 @@ class LogSuppressorTest extends TestCase
protected TestHandler|null $handler = null;
private array $testData = [
[
'id' => 1,
'A7434c91d3440' => [
'message' => 'Random string',
'type' => 'contains',
],
[
'id' => 2,
'A7434c91d3441' => [
'message' => '/some random \'(\d+)\'/',
'type' => 'regex',
],
[
'id' => 3,
'A7434c91d3442' => [
'message' => '',
'type' => 'contains',
],