diff --git a/tests/acceptance/features/bootstrap/Logging.php b/tests/acceptance/features/bootstrap/Logging.php index 2f9b7cfd9912..64dc5c64eea7 100644 --- a/tests/acceptance/features/bootstrap/Logging.php +++ b/tests/acceptance/features/bootstrap/Logging.php @@ -230,7 +230,7 @@ private function assertLogFileContainsAtLeastOneEntryMatchingTable( //don't check empty table entries continue; } - if (!isset($logEntry[$attribute])) { + if (!\array_key_exists($attribute, $logEntry)) { //this line does not have the attribute we are looking for $foundLine = false; break;