diff --git a/application/controllers/SqlController.php b/application/controllers/SqlController.php index 06d34fb..5436d17 100644 --- a/application/controllers/SqlController.php +++ b/application/controllers/SqlController.php @@ -410,7 +410,6 @@ class SqlController extends Zend_Controller_Action // process one query try { $res = $this->_db->query($statements[0], Msd_Db::ARRAY_ASSOC); - print_r($res); $this->view->resultset = $res; } catch (Exception $e) { $this->view->errorMessage = $e->getMessage(); diff --git a/tests/unit/library/Msd/Validate/File/AccessabileNonRootTest.php b/tests/unit/library/Msd/Validate/File/AccessabileNonRootTest.php index 349936e..264323a 100644 --- a/tests/unit/library/Msd/Validate/File/AccessabileNonRootTest.php +++ b/tests/unit/library/Msd/Validate/File/AccessabileNonRootTest.php @@ -36,7 +36,7 @@ if (get_current_user() != 'root') { $this->markTestIncomplete('This test can not be run as user root.'); return; } - $this->chmod(0400); + $this->chmod(0400, $this->_testFile); $this->validator->setOptions(array('accessTypes' => "write")); $this->assertEquals(false, $this->validator->isValid($this->_testFile)); }