示例#1
0
 public function testCanStore()
 {
     $cantStore = new Omeka_Storage_Adapter_Filesystem($this->_options);
     $this->assertFalse($cantStore->canStore());
     $tempDir = self::$tempDir;
     $canStore = new Omeka_Storage_Adapter_Filesystem(array('localDir' => $tempDir));
     $canStore->setUp();
     $this->assertTrue($canStore->canStore());
 }