public function testGetAdminMounts()
 {
     $id1 = $this->addMount('/test', 'foo', 'bar', 100, DBConfigService::MOUNT_TYPE_ADMIN);
     $this->addMount('/test2', 'foo2', 'bar2', 100, DBConfigService::MOUNT_TYPE_PERSONAl);
     $mounts = $this->dbConfig->getAdminMounts();
     $this->assertCount(1, $mounts);
     $this->assertEquals($id1, $mounts[0]['mount_id']);
 }
Exemplo n.º 2
0
 protected function readDBConfig()
 {
     return $this->dbConfig->getAdminMounts();
 }