Browse Source

i mixed up some of the return values

pull/448/head
qadan 11 years ago
parent
commit
9e523d5881
  1. 4
      tests/islandora_web_test_case.inc

4
tests/islandora_web_test_case.inc

@ -447,12 +447,12 @@ SELECT ?object FROM <#ri> WHERE
QUERY;
$objects = $this->admin->repository->ri->sparqlQuery($query);
$fail = FALSE;
$fail = TRUE;
foreach ($objects as $object) {
$loaded_object = islandora_object_load($object['object']['value']);
islandora_delete_object($loaded_object);
if ($this->assertFalse(islandora_object_load($object['object']['value']), "Object {$object['object']['value']} successfully removed from repository.", 'Islandora')) {
$fail = TRUE;
$fail = FALSE;
}
}
return $fail;

Loading…
Cancel
Save