Inheritance: extends phpbb_database_test_case
 public function setUp()
 {
     parent::setUp();
     global $auth;
     // Add additional permissions
     $auth->expects($this->any())->method('acl_get_list')->with($this->anything(), $this->stringContains('_'), $this->greaterThan(0))->will($this->returnValueMap(array(array(array(3, 4, 5, 6, 7), 'f_read', 1, array(1 => array('f_read' => array(3, 5, 6, 7)))))));
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     global $auth, $phpbb_log;
     // Add additional permissions
     $auth->expects($this->any())->method('acl_get_list')->with($this->anything(), $this->stringContains('_'), $this->greaterThan(0))->will($this->returnValueMap(array(array(array(6, 7, 8), 'f_read', 1, array(1 => array('f_read' => array(7, 8)))))));
     $phpbb_log = $this->getMock('\\phpbb\\log\\dummy');
 }