mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 17:27:22 +01:00
removes expection expectations if test is marked as skipped
This commit is contained in:
@ -140,6 +140,10 @@ final class TestCaseFactory
|
||||
$proxies = $this->proxies;
|
||||
$factoryTest = $this->test;
|
||||
|
||||
if ($chains->hasMessage('markTestSkipped')) {
|
||||
$proxies->forgetMessage('expectException');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user