예제 #1
0
파일: subadmin.php 프로젝트: nem0xff/core
 public function testIsSubAdminAsAdmin()
 {
     $subAdmin = new \OC\SubAdmin($this->userManager, $this->groupManager, $this->dbConn);
     $this->groupManager->get('admin')->addUser($this->users[0]);
     $this->assertTrue($subAdmin->isSubAdmin($this->users[0]));
 }