Move wizard

This commit is contained in:
Joas Schilling 2016-05-12 16:08:46 +02:00
parent 3f5e76162d
commit d4e828f39e
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
4 changed files with 12 additions and 7 deletions

View File

@ -60,7 +60,7 @@ $userManager = new \OCA\User_LDAP\User\Manager(
$access = new \OCA\user_ldap\lib\Access($con, $ldapWrapper, $userManager);
$wizard = new \OCA\user_ldap\lib\Wizard($configuration, $ldapWrapper, $access);
$wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access);
switch($action) {
case 'guessPortAndTLS':

View File

@ -29,9 +29,14 @@
*
*/
namespace OCA\user_ldap\lib;
namespace OCA\User_LDAP;
use OC\ServerNotAvailableException;
use OCA\user_ldap\lib\Access;
use OCA\user_ldap\lib\Configuration;
use OCA\user_ldap\lib\Helper;
use OCA\user_ldap\lib\ILDAPWrapper;
use OCA\user_ldap\lib\LDAPUtility;
class Wizard extends LDAPUtility {
static protected $l;

View File

@ -23,7 +23,7 @@
*
*/
namespace OCA\user_ldap\lib;
namespace OCA\User_LDAP;
class WizardResult {
protected $changes = array();

View File

@ -23,9 +23,9 @@
*
*/
namespace OCA\user_ldap\tests;
namespace OCA\User_LDAP\tests;
use \OCA\user_ldap\lib\Wizard;
use \OCA\User_LDAP\Wizard;
// use \OCA\user_ldap\User_LDAP as UserLDAP;
// use \OCA\user_ldap\lib\Access;
@ -37,9 +37,9 @@ use \OCA\user_ldap\lib\Wizard;
*
* @group DB
*
* @package OCA\user_ldap\tests
* @package OCA\User_LDAP\tests
*/
class Test_Wizard extends \Test\TestCase {
class WizardTest extends \Test\TestCase {
protected function setUp() {
parent::setUp();
//we need to make sure the consts are defined, otherwise tests will fail