Browse Source

Fix some coding standards.

pull/330/head
jonathangreen 12 years ago
parent
commit
aac7a738f9
  1. 8
      tests/islandora_web_test_case.inc

8
tests/islandora_web_test_case.inc

@ -130,7 +130,7 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
/**
* Asserts that the given datastreams exist on the object.
*
* @param AbstractObject $objectpid
* @param AbstractObject $object
* The PID of the object
* @param array $datastreams
* An array of strings containing datastream names
@ -182,7 +182,11 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
*/
public function deleteObject($pid) {
$current_user = $this->loggedInUser;
$user = $this->drupalCreateUser(array('manage object properties', 'delete fedora objects and datastreams', 'view fedora repository objects'));
$user = $this->drupalCreateUser(array(
'manage object properties',
'delete fedora objects and datastreams',
'view fedora repository objects',
));
$this->drupalLogin($user);

Loading…
Cancel
Save