File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ public function testErrorLogsAreSentWhenFlagIsTrue(IntegrationTester $I): void
5555 $ I ->wantTo ('verify that error logs are sent remotely when REMOTE_LOG_ERRORS_ONLY is true ' );
5656 $ this ->setRemoteLogErrorsOnly (true );
5757
58- $ I ->expectLogPostRequest ('Test error message ' , 200 );
59- $ I ->expectLogPostRequest ('Test exception ' , 200 );
58+ $ I ->expectLogsPostRequest ('Test error message ' , 200 );
59+ $ I ->expectLogPsostRequest ('Test exception ' , 200 );
6060
6161 LiltLogger::error ('Test error message ' );
6262 LiltLogger::logException (new RuntimeException ('Test exception ' ));
@@ -69,8 +69,8 @@ public function testAllLogsAreSentWhenFlagIsFalse(IntegrationTester $I): void
6969 $ I ->wantTo ('verify that all log levels are sent remotely when REMOTE_LOG_ERRORS_ONLY is false ' );
7070 $ this ->setRemoteLogErrorsOnly (false );
7171
72- $ I ->expectLogPostRequest ('Test info message ' , 200 );
73- $ I ->expectLogPostRequest ('Test exception ' , 200 );
72+ $ I ->expectLogsPostRequest ('Test info message ' , 200 );
73+ $ I ->expectLogsPostRequest ('Test exception ' , 200 );
7474
7575 LiltLogger::info ('Test info message ' );
7676 LiltLogger::logException (new RuntimeException ('Test exception ' ));
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function testRunActionLogsAndRethrowsError(IntegrationTester $I): void
4545 {
4646 $ I ->wantTo ('verify it logs the error and then re-throws the original exception ' );
4747
48- $ I ->expectLogPostRequest ('This is a test runAction error. ' , 200 );
48+ $ I ->expectLogsPostRequest ('This is a test runAction error. ' , 200 );
4949
5050 $ I ->expectThrowable (
5151 new RuntimeException ('This is a test runAction error. ' ),
@@ -59,7 +59,7 @@ public function testApiLoggingFailureDoesNotPreventException(IntegrationTester $
5959 {
6060 $ I ->wantTo ('verify a remote logging failure doesn \'t prevent the exception ' );
6161
62- $ I ->expectLogPostRequest ('This is a test runAction error. ' , 500 );
62+ $ I ->expectLogsPostRequest ('This is a test runAction error. ' , 500 );
6363
6464 $ I ->expectThrowable (
6565 new RuntimeException ('This is a test runAction error. ' ),
You can’t perform that action at this time.
0 commit comments