Exemplo n.º 1
0
 public function testDisablingAcl()
 {
     $acl = $this->_getAcl();
     $this->_helper->setAcl($acl['acl']);
     $this->_helper->setRole($acl['role']);
     $this->_helper->setUseAcl(false);
     $expected = $this->_getExpected('menu/default1.html');
     $actual = $this->_helper->render();
     $this->assertEquals($expected, $actual);
 }