diff --git a/core/modules/simpletest/tests/registry.test b/core/modules/simpletest/tests/registry.test index 93cde27..a832bdc 100644 --- a/core/modules/simpletest/tests/registry.test +++ b/core/modules/simpletest/tests/registry.test @@ -176,8 +176,12 @@ CONTENTS; } public function testRegistryMovedResource() { + $this->admin_user = $this->drupalCreateUser(array('administer software updates', 'administer site configuration')); + $this->drupalLogin($this->admin_user); + $this->drupalGet('registry-test/load-resource'); $this->moveRegistryResource(); + $this->drupalGet($this->getAbsoluteUrl('core/update.php')); $this->drupalGet('registry-test/load-resource'); } }