From 3b1df2931818b90b734c8bc3a6e0dbdf1517feaf Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Thu, 13 Feb 2014 13:56:02 +0100
Subject: [PATCH] sort expected result in tests

---
 tests/lib/appconfig.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php
index 5cbdf80502..6ae790a9ed 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);
 	}
-- 
GitLab