Rename language to lang in test data as well
This commit is contained in:
parent
e44111e935
commit
c60d85329c
|
@ -635,7 +635,7 @@ class ApiTest extends DatabaseTest
|
|||
*/
|
||||
public function testApiRssExtra()
|
||||
{
|
||||
$user_info = ['url' => 'user_url', 'language' => 'en'];
|
||||
$user_info = ['url' => 'user_url', 'lang' => 'en'];
|
||||
$result = api_rss_extra($this->app, [], $user_info);
|
||||
$this->assertEquals($user_info, $result['$user']);
|
||||
$this->assertEquals($user_info['url'], $result['$rss']['alternate']);
|
||||
|
|
Loading…
Reference in New Issue
Block a user