Run cleanup after each integration test
This is needed to get rid of posts created in tests to prevent test interdependency [MAILPOET-6335]
This commit is contained in:
committed by
Aschepikov
parent
fdc0d15b63
commit
993cbb4fd7
@@ -105,6 +105,14 @@ abstract class MailPoetTest extends \Codeception\TestCase\Test { // phpcs:ignore
|
|||||||
parent::setUp();
|
parent::setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tear down after each test.
|
||||||
|
*/
|
||||||
|
public function _after() {
|
||||||
|
parent::_after();
|
||||||
|
$this->tester->cleanup();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the HTML is valid.
|
* Check if the HTML is valid.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user