public function getSearchProfileParams() {
return [
- 'qiprofile' => [
+ 'profile' => [
'profile-type' => SearchEngine::COMPLETION_PROFILE_TYPE,
'help-message' => 'apihelp-query+prefixsearch-param-profile'
],
$params = $api->getAllowedParams();
$this->assertArrayNotHasKey( 'offset', $params );
- $this->assertArrayHasKey( 'qiprofile', $params, print_r( $params, true ) );
- $this->assertEquals( 'normal', $params['qiprofile'][ApiBase::PARAM_DFLT] );
+ $this->assertArrayHasKey( 'profile', $params, print_r( $params, true ) );
+ $this->assertEquals( 'normal', $params['profile'][ApiBase::PARAM_DFLT] );
}
private function replaceSearchEngineConfig() {