Browse Source

coder issues

pull/549/head
qadan 10 years ago
parent
commit
8d296881f0
  1. 7
      tests/includes/islandora_web_test_case.inc

7
tests/includes/islandora_web_test_case.inc

@ -92,8 +92,8 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
} }
set_error_handler(array($this, 'errorHandler')); set_error_handler(array($this, 'errorHandler'));
$class = get_class($this); $class = get_class($this);
// Iterate through all the methods in this class, unless a specific list of // Iterate through all the methods in this class, unless a specific list
// methods to run was passed. // of methods to run was passed.
$class_methods = get_class_methods($class); $class_methods = get_class_methods($class);
if ($methods) { if ($methods) {
$class_methods = array_intersect($class_methods, $methods); $class_methods = array_intersect($class_methods, $methods);
@ -260,7 +260,8 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
* If TRUE, this will only delete objects owned by users in $this->users. * If TRUE, this will only delete objects owned by users in $this->users.
* *
* @return bool * @return bool
* If the deletion fails, return FALSE TRUE, this will only delete objects owned by users in $this->users. * If the deletion fails, return FALSE TRUE, this will only delete objects
* owned by users in $this->users.
*/ */
public function deleteObject($pid, $button = NULL, $safety = TRUE) { public function deleteObject($pid, $button = NULL, $safety = TRUE) {
$object = islandora_object_load($pid); $object = islandora_object_load($pid);

Loading…
Cancel
Save