function tearDown() { global $user; $user = null; parent::tearDown(); TikiDb::get()->query('DELETE FROM `tiki_user_votings` WHERE `id` LIKE ?', array('test.%')); }
function tearDown() { parent::tearDown(); $this->userlib->remove_user('membershiptest_a'); $this->userlib->remove_user('membershiptest_b'); $this->userlib->remove_user('membershiptest_c'); $this->userlib->remove_group('MembershipTest'); }
static function assertEquals($expected, $actual, $syntaxName, $syntax) { if ($expected != $actual) { echo "\n\n\n\nFailure on: {$syntaxName}\n"; echo "Syntax: '{$syntax}'\n"; echo "Output: '{$actual}'\n"; } parent::assertEquals($expected, $actual); }
function tearDown() { parent::tearDown(); TikiDb::get()->query('DELETE FROM `tiki_object_attributes` WHERE `attribute` LIKE ?', array('tiki.test%')); }
function tearDown() { parent::tearDown(); TikiDb::get()->query('DELETE FROM `tiki_object_relations` WHERE `relation` LIKE ?', array('tiki.test%')); }