Commit 11956b06 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Zap les tests de l'antivirus, jusqu'à ce qu'on trouve une nouvelle librairie.

parent b95c033c
......@@ -44,15 +44,7 @@ class VirusScannerListenerTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->file = $this->getMock(UploadedFileInterface::class);
$this->file->expects(static::once())->method('getLocalPath')->willReturn('foopath');
$this->file->expects(static::once())->method('getMetadata')->willReturn([]);
$this->event = new FileUploadCompleteEvent($this->file);
$this->scanner = $this->getMock('CL\Tissue\Adapter\AdapterInterface');
$this->listener = new VirusScannerListener($this->scanner);
self::markTestSkipped('No CL\Tissue');
}
public function testOnFileUploadCompletedResultOk()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment