mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-06 19:49:12 -04:00
Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
This commit is contained in:
@@ -35,8 +35,8 @@ class Digibug_Controller_Test extends Unit_Test_Case {
|
||||
|
||||
$root = ORM::factory("item", 1);
|
||||
$this->_album = album::create($root, rand(), "test album");
|
||||
access::deny(Identity::everybody(), "view_full", $this->_album);
|
||||
access::deny(Identity::registered_users(), "view_full", $this->_album);
|
||||
access::deny(identity::everybody(), "view_full", $this->_album);
|
||||
access::deny(identity::registered_users(), "view_full", $this->_album);
|
||||
|
||||
$rand = rand();
|
||||
$this->_item = photo::create($this->_album, MODPATH . "gallery/tests/test.jpg", "$rand.jpg",
|
||||
|
||||
Reference in New Issue
Block a user