* @group Database * @coversDefaultClass \MediaWiki\Extension\OATHAuth\Special\OATHManage */ class OATHManageTest extends SpecialPageTestBase { protected function newSpecialPage() { $services = OATHAuthServices::getInstance( $this->getServiceContainer() ); return new OATHManage( $services->getUserRepository(), $services->getModuleRegistry(), ); } /** * @covers ::execute */ public function testPageLoads() { $this->executeSpecialPage( '', null, null, $this->getTestUser()->getAuthority(), ); $this->addToAssertionCount( 1 ); } }