Skip to content

Commit 2e71cb4

Browse files
committed
remvoe logging from unit tests
1 parent 311634c commit 2e71cb4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/tests/TestCase/Controller/Api/EventsControllerTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public function testGetEvents(): void
129129
*/
130130
public function testDeleteEvent(): void
131131
{
132-
$this->disableErrorHandlerMiddleware();
133132
$createData = [
134133
'name' => 'Test Event',
135134
'sport' => 'Running',
@@ -165,11 +164,10 @@ public function testDeleteEvent(): void
165164
}
166165

167166
/**
168-
* Test updating an existing event (PUT request) via API endpoints
167+
* Test updating an existing event (PUT request)
169168
*/
170169
public function testUpdateEvent(): void
171170
{
172-
$this->disableErrorHandlerMiddleware();
173171
$createData = [
174172
'name' => 'Old Event Name',
175173
'sport' => 'Running',

0 commit comments

Comments
 (0)