From c60d85329c376abfd8f812f048cb3ad5de1f6ccf Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 4 Jul 2018 17:55:06 -0400 Subject: [PATCH] Rename language to lang in test data as well --- tests/ApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ApiTest.php b/tests/ApiTest.php index d54d0cc9a3..c8443512c8 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -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']); -- 2.39.5