Ejemplo n.º 1
0
 public function testMoveImageFromTmpNoDb()
 {
     $this->fileStorageDbMock->method('checkDbUsage')->willReturn(false);
     $this->fileStorageDbMock->method('renameFile')->will($this->returnSelf());
     $this->mediaHelperObject->moveImageFromTmp('file.tmp');
 }