mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-23 14:09:20 -04:00
Restore "view" permissions on the root album in teardown.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user