Need to tear down, or we break subsequent tests

This commit is contained in:
nathangray 2017-02-07 09:09:05 -07:00
parent b2ec0e9aa6
commit 08461cbeb5

View File

@ -53,6 +53,9 @@ class StatusTest extends \EGroupware\Api\AppTest
$bo = new \infolog_bo(); $bo = new \infolog_bo();
unset($bo->status['task']['custom']); unset($bo->status['task']['custom']);
Api\Config::save_value('status',$bo->status,'infolog'); Api\Config::save_value('status',$bo->status,'infolog');
// Have to remove custom status first, before the DB is gone
parent::tearDownAfterClass();
} }
public function setUp() public function setUp()