]> git.mxchange.org Git - friendica.git/commitdiff
Rename language to lang in test data as well
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 4 Jul 2018 21:55:06 +0000 (17:55 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 4 Jul 2018 21:55:06 +0000 (17:55 -0400)
tests/ApiTest.php

index d54d0cc9a3af2f859f1905dc2e86b6345325c52a..c8443512c8a461e417b5992c383a608e35f94809 100644 (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']);