Remove unnecessary code to cleanup tests

WP test case cleans the database automatically after each test so there is no need to do it automatically.
This commit is contained in:
Rodrigo Primo 2018-10-11 15:11:28 -03:00
parent af32bfe329
commit 402144893b
1 changed files with 0 additions and 10 deletions

View File

@ -6,16 +6,6 @@
* @since 3.0.0
*/
class WC_Tests_Log_Handler_DB extends WC_Unit_Test_Case {
public function setUp() {
parent::setUp();
WC_Log_Handler_DB::flush();
}
public function tearDown() {
WC_Log_Handler_DB::flush();
parent::tearDown();
}
/**
* Test handle writes to database correctly.
*