[Pkg-owncloud-commits] [owncloud] 26/69: Added ext storage app in autotest unit test run

David Prévot taffit at moszumanska.debian.org
Sat May 10 16:20:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 0c8ae6eb6632483505c22a8441d916873ed51ecc
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Mon May 5 15:03:10 2014 +0200

    Added ext storage app in autotest unit test run
    
    To make sure that the dynamic mount config and config classes from
    external storages are tested, these are now added into the autotest.sh
    test run by enabling the app.
---
 apps/files_external/tests/config.php             | 2 +-
 apps/files_external/tests/dynamicmountconfig.php | 2 --
 apps/files_external/tests/mountconfig.php        | 2 --
 tests/enable_all.php                             | 2 +-
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/apps/files_external/tests/config.php b/apps/files_external/tests/config.php
index 767c0ad..62aff4d 100644
--- a/apps/files_external/tests/config.php
+++ b/apps/files_external/tests/config.php
@@ -28,7 +28,7 @@ return array(
 		'wait'=> 0
 	),
 	'owncloud'=>array(
-		'run'=>true,
+		'run'=>false,
 		'host'=>'localhost/owncloud',
 		'user'=>'test',
 		'password'=>'test',
diff --git a/apps/files_external/tests/dynamicmountconfig.php b/apps/files_external/tests/dynamicmountconfig.php
index 81a31e1..6502990 100644
--- a/apps/files_external/tests/dynamicmountconfig.php
+++ b/apps/files_external/tests/dynamicmountconfig.php
@@ -22,8 +22,6 @@
 
 require_once __DIR__ . '/../../../lib/base.php';
 
-require __DIR__ . '/../lib/config.php';
-
 /**
  * Class Test_Mount_Config_Dummy_Backend
  */
diff --git a/apps/files_external/tests/mountconfig.php b/apps/files_external/tests/mountconfig.php
index 1921ec7..14fe1d9 100644
--- a/apps/files_external/tests/mountconfig.php
+++ b/apps/files_external/tests/mountconfig.php
@@ -22,8 +22,6 @@
 
 require_once __DIR__ . '/../../../lib/base.php';
 
-require __DIR__ . '/../lib/config.php';
-
 class Test_Mount_Config_Dummy_Storage {
 	public function test() {
 		return true;
diff --git a/tests/enable_all.php b/tests/enable_all.php
index efb43ca..386ae20 100644
--- a/tests/enable_all.php
+++ b/tests/enable_all.php
@@ -18,7 +18,7 @@ function enableApp($app) {
 
 enableApp('files_sharing');
 enableApp('files_encryption');
-//enableApp('files_external');
+enableApp('files_external');
 enableApp('user_ldap');
 enableApp('files_versions');
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list