* @group Database
* @group medium
* @todo This test suite is severly broken and need a full review
+ *
+ * @covers ApiWatch
*/
class ApiWatchTest extends ApiTestCase {
protected function setUp() {
return $this->getTokenList( self::$users['sysop'] );
}
- /**
- */
public function testWatchEdit() {
$tokens = $this->getTokens();
return $data;
}
- /**
- */
public function testWatchProtect() {
$tokens = $this->getTokens();
$this->assertArrayHasKey( 'edit', $data[0]['protect']['protections'][0] );
}
- /**
- */
public function testGetRollbackToken() {
$this->getTokens();