You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a test case calls parent::tearDown() from a finally clause, the InvokeParentHookMethodRule does not detect it. Even though the method will always be called.
protectedfunctiontearDown(): void
{
try {
// something that might throw an exception
} finally {
parent::tearDown();
}
}
Method Tests\TestCase::tearDown() does not invoke parent::tearDown().