Permalink
Browse files

Fix namespace for loading **AccessTest classes.

  • Loading branch information...
1 parent 2116922 commit 729d1e04d813b1c23597c3a0abbe454522d480b2 @cdujeu cdujeu committed May 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php
@@ -1450,7 +1450,7 @@ public function switchAction($action, $httpVars, $fileVars)
$testFile = $driver->getBaseDir()."/test.".$newRep->getAccessType()."Access.php";
if (!$isTemplate && is_file($testFile)) {
//chdir(AJXP_TESTS_FOLDER."/plugins");
- $className = $newRep->getAccessType()."AccessTest";
+ $className = "\\Pydio\\Tests\\".$newRep->getAccessType()."AccessTest";
if (!class_exists($className))
include($testFile);
$class = new $className();

0 comments on commit 729d1e0

Please sign in to comment.