Use tablesUsed instead of cleaning up ourselves.
Change-Id: Ibe470a8f292d65ceeaa098d5c033b8585501a9f3
parent::setUp();
$this->tablesUsed = array_merge(
$this->tablesUsed,
parent::setUp();
$this->tablesUsed = array_merge(
$this->tablesUsed,
- [ 'change_tag', 'change_tag_def', 'logging' ]
+ [ 'ipblocks', 'change_tag', 'change_tag_def', 'logging' ]
);
$this->mUser = $this->getMutableTestUser()->getUser();
}
);
$this->mUser = $this->getMutableTestUser()->getUser();
}
- protected function tearDown() {
- $block = Block::newFromTarget( $this->mUser->getName() );
- if ( !is_null( $block ) ) {
- $block->delete();
- }
- parent::tearDown();
- }
-
protected function getTokens() {
return $this->getTokenList( self::$users['sysop'] );
}
protected function getTokens() {
return $this->getTokenList( self::$users['sysop'] );
}