assertArrayHasKey( 'wgCiteVisualEditorOtherGroup', $vars ); $this->assertArrayHasKey( 'wgCiteResponsiveReferences', $vars ); } /** * @covers ::onAPIQuerySiteInfoGeneralInfo */ public function testOnAPIQuerySiteInfoGeneralInfo() { $api = $this->createMock( ApiQuerySiteinfo::class ); $data = []; CiteHooks::onAPIQuerySiteInfoGeneralInfo( $api, $data ); $this->assertArrayHasKey( 'citeresponsivereferences', $data ); } }