validate sql_search and sql_orderby API parameters, fix unit-tests as of new default skin is 'Froxlor'

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-01 09:37:07 +02:00
parent 6ce2afa6a4
commit 78a4c109e4
3 changed files with 22 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ class AdminsTest extends TestCase
'def_language' => 'English'
))->update();
$result = json_decode($json_result, true)['data'];
$this->assertEquals('Sparkle', $result['theme']);
$this->assertEquals('Froxlor', $result['theme']);
$this->assertEquals('English', $result['def_language']);
}