Restore "view" permissions on the root album in teardown.

This commit is contained in:
Bharat Mediratta
2009-06-02 13:37:19 -07:00
parent 76fcb8e654
commit ffb3abdcac

View File

@@ -38,6 +38,10 @@ class Access_Helper_Test extends Unit_Test_Case {
$user->delete();
}
} catch (Exception $e) { }
// Reset some permissions that we mangle below
$root = ORM::factory("item", 1);
access::allow(group::everybody(), "view", $root);
}
public function setup() {