From 71cdfdcec89f5cb2bea448998dfbf791555c18f0 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sun, 15 Apr 2012 13:33:49 +0200
Subject: [PATCH] only run tests of enabled apps

---
 tests/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/index.php b/tests/index.php
index a6f678b3bc..6dec1b050f 100644
--- a/tests/index.php
+++ b/tests/index.php
@@ -30,7 +30,7 @@ require_once 'simpletest/default_reporter.php';
 loadTests(dirname(__FILE__));
 
 //load app test cases
-$apps=OC_Appconfig::getApps();
+$apps=OC_App::getEnabledApps();
 foreach($apps as $app){
 	if(is_dir(OC::$SERVERROOT.'/apps/'.$app.'/tests')){
 		loadTests(OC::$SERVERROOT.'/apps/'.$app.'/tests');
-- 
GitLab