Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'weierophinney/feature/permissions'
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed Jul 24, 2012
2 parents 187ea79 + 1fb0425 commit fd429e8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Helper/Navigation/AbstractHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
namespace Zend\View\Helper\Navigation;

use RecursiveIteratorIterator;
use Zend\Acl;
use Zend\I18n\Translator\Translator;
use Zend\I18n\Translator\TranslatorAwareInterface;
use Zend\Navigation;
use Zend\Navigation\Page\AbstractPage;
use Zend\Permissions\Acl;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\View;
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/Navigation/HelperInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\View\Helper\Navigation;

use Zend\Acl;
use Zend\I18n\Translator\Translator;
use Zend\Navigation;
use Zend\Permissions\Acl;
use Zend\View\Helper\HelperInterface as BaseHelperInterface;

/**
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/Navigation/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
namespace ZendTest\View\Helper\Navigation;

use Zend\Navigation\Navigation;
use Zend\Acl\Acl;
use Zend\Acl\Role\GenericRole;
use Zend\Acl\Resource\GenericResource;
use Zend\Config\Factory as ConfigFactory;
use Zend\Mvc\Router\RouteMatch;
use Zend\Mvc\Service\ServiceManagerConfig;
use Zend\Permissions\Acl\Acl;
use Zend\Permissions\Acl\Role\GenericRole;
use Zend\Permissions\Acl\Resource\GenericResource;
use Zend\ServiceManager\ServiceManager;
use Zend\I18n\Translator\Translator;
use Zend\View\Renderer\PhpRenderer;
Expand Down
8 changes: 4 additions & 4 deletions test/Helper/Navigation/LinksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace ZendTest\View\Helper\Navigation;

use Zend\Config;
use Zend\Navigation\Page\AbstractPage;
use Zend\Navigation\Page\Uri as UriPage;
use Zend\Config;
use Zend\Acl;
use Zend\Acl\Role;
use Zend\Acl\Resource;
use Zend\Permissions\Acl;
use Zend\Permissions\Acl\Role;
use Zend\Permissions\Acl\Resource;
use Zend\View;
use Zend\View\Helper\Navigation;

Expand Down
2 changes: 1 addition & 1 deletion test/Helper/Navigation/MenuTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function testUseConstructedAclRolesNotFromAclObject()
{
$acl = $this->_getAcl();
$this->_helper->setAcl($acl['acl']);
$this->_helper->setRole(new \Zend\Acl\Role\GenericRole('member'));
$this->_helper->setRole(new \Zend\Permissions\Acl\Role\GenericRole('member'));

$expected = $this->_getExpected('menu/acl_role_interface.html');
$this->assertEquals($expected, $this->_helper->render());
Expand Down
6 changes: 3 additions & 3 deletions test/Helper/Navigation/NavigationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace ZendTest\View\Helper\Navigation;

use Zend\Acl;
use Zend\View\Helper\Navigation;
use Zend\Acl\Role;
use Zend\Permissions\Acl;
use Zend\Permissions\Acl\Role;
use Zend\View;
use Zend\View\Helper\Navigation;

/**
* Tests Zend_View_Helper_Navigation
Expand Down

0 comments on commit fd429e8

Please sign in to comment.