diff --git a/tests/Smtp/AsyncSmtpMailerIntegrationTest.php b/tests/Smtp/AsyncSmtpMailerIntegrationTest.php index b0c8b15..2e76f0b 100644 --- a/tests/Smtp/AsyncSmtpMailerIntegrationTest.php +++ b/tests/Smtp/AsyncSmtpMailerIntegrationTest.php @@ -157,7 +157,7 @@ function (Timer $timer) use ($time, $subject, $startTime, $waitingInterval): voi if ($imap === false) { $error = imap_last_error(); - throw new Exception($error !== false ? $error : 'IMAP error occured.'); + throw new Exception($error !== false ? $error : 'IMAP error occurred.'); } $searchQuery = sprintf('SUBJECT "%s" SINCE "%s" FROM "%s"', $time, date('Y-m-d', $time), $settings->getEmailFrom()); $emails = imap_search($imap, $searchQuery, SE_UID);