@ -196,7 +196,7 @@ function delete_test_course($course_code = 'TESTCOURSE') {
if ($handle = opendir($path)) {
while (false !== ($file = readdir($handle))) {
if (strpos($file,$code)!==false) {
if (strpos($file,$course_code)!==false) {
if (is_dir($path.'/'.$file)) {
rmdirr($path.'/'.$file);
}
@ -23,7 +23,7 @@ class TestSoapWebService extends UnitTestCase {
$security_key = $configuration['security_key'];
$ip_address = '::1';
$this->_secret_key = sha1($ip_address.$security_key);
$this->_encrypt_method = $_GLOBALS['userPasswordCrypted'];
$this->_encrypt_method = $GLOBALS['userPasswordCrypted'];
$this->_client = new SoapClient($configuration['root_web'].'main/webservices/soap.php?wsdl');