diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-13 13:56:02 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-13 13:56:02 +0100 |
commit | 3b1df2931818b90b734c8bc3a6e0dbdf1517feaf (patch) | |
tree | a1bc178e47a5e1dbc91a57ba7863d6c154007e36 /tests | |
parent | 50cc6a85e5d4c817235aee58e9d461e4034df27b (diff) | |
download | nextcloud-server-3b1df2931818b90b734c8bc3a6e0dbdf1517feaf.tar.gz nextcloud-server-3b1df2931818b90b734c8bc3a6e0dbdf1517feaf.zip |
sort expected result in tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appconfig.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php index 5cbdf80502f..6ae790a9edd 100644 --- a/tests/lib/appconfig.php +++ b/tests/lib/appconfig.php @@ -42,6 +42,7 @@ class Test_Appconfig extends PHPUnit_Framework_TestCase { while ($row = $result->fetchRow()) { $expected[] = $row['appid']; } + sort($expected); $apps = \OC_Appconfig::getApps(); $this->assertEquals($expected, $apps); } @@ -53,6 +54,7 @@ class Test_Appconfig extends PHPUnit_Framework_TestCase { while($row = $result->fetchRow()) { $expected[] = $row["configkey"]; } + sort($expected); $keys = \OC_Appconfig::getKeys('testapp'); $this->assertEquals($expected, $keys); } |