Rename language to lang in test data as well

This commit is contained in:
Hypolite Petovan 2018-07-04 17:55:06 -04:00
parent e44111e935
commit c60d85329c

View file

@ -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']);