Browse Source

tested one of the tests but forgot to test the other test

pull/652/head
qadan 9 years ago
parent
commit
69005d0dd3
  1. 2
      tests/islandora_hooks_test.module

2
tests/islandora_hooks_test.module

@ -147,7 +147,7 @@ function islandora_hooks_test_islandora_datastream_modified(AbstractObject $obje
$new_label = 'New Label! + ' . $_SESSION['islandora_hooks']['iteration'][ISLANDORA_DATASTREAM_MODIFIED_HOOK];
$datastream->label = $new_label;
}
if (isset($params['mimetype'] && $params['mimetype'] == 'mr/mime')) {
if (isset($params['mimeType']) && $params['mimeType'] == 'mr/mime') {
$new_label = 'New Label! (Mr. Mime)';
$object->label = $new_label;
}

Loading…
Cancel
Save