Rename language to lang in test data as well
This commit is contained in:
parent
e44111e935
commit
c60d85329c
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ class ApiTest extends DatabaseTest
|
||||||
*/
|
*/
|
||||||
public function testApiRssExtra()
|
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);
|
$result = api_rss_extra($this->app, [], $user_info);
|
||||||
$this->assertEquals($user_info, $result['$user']);
|
$this->assertEquals($user_info, $result['$user']);
|
||||||
$this->assertEquals($user_info['url'], $result['$rss']['alternate']);
|
$this->assertEquals($user_info['url'], $result['$rss']['alternate']);
|
||||||
|
|
Loading…
Reference in a new issue