@@ 344-350 (lines=7) @@ | ||
341 | ||
342 | continue; |
|
343 | } |
|
344 | if ( $expectedCode && $expectedCode !== $code ) |
|
345 | { |
|
346 | $this->getLogger()->error("Exception code({$code}) was expected to be ({$expectedCode})", [compact('testName'), $e]); |
|
347 | $this->failedCount++; |
|
348 | ||
349 | continue; |
|
350 | } |
|
351 | if ( $expectedClass && $expectedClass !== $exception ) |
|
352 | { |
|
353 | $this->getLogger()->error("Exception class({$exception}) was expected to be ({$expectedClass})", [compact('testName'), $e]); |
|
@@ 351-357 (lines=7) @@ | ||
348 | ||
349 | continue; |
|
350 | } |
|
351 | if ( $expectedClass && $expectedClass !== $exception ) |
|
352 | { |
|
353 | $this->getLogger()->error("Exception class({$exception}) was expected to be ({$expectedClass})", [compact('testName'), $e]); |
|
354 | $this->failedCount++; |
|
355 | ||
356 | continue; |
|
357 | } |
|
358 | $this->getLogger()->info("[{$test}] - " . $testCase->getSuccessMessage()); |
|
359 | } |
|
360 | } |