Browse Source

Fix strict warning.

pull/346/head
Nigel Banks 12 years ago
parent
commit
ca7d099144
  1. 2
      tests/islandora_web_test_case.inc

2
tests/islandora_web_test_case.inc

@ -108,7 +108,7 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
* *
* @see DrupalWebTestCase::drupalLogin() * @see DrupalWebTestCase::drupalLogin()
*/ */
protected function drupalLogin(stdClass &$account) { protected function drupalLogin(stdClass $account) {
if ($account->uid == $this->admin->uid) { if ($account->uid == $this->admin->uid) {
// Create password for Drupal. // Create password for Drupal.
$edit = array('pass' => user_password()); $edit = array('pass' => user_password());

Loading…
Cancel
Save