@@ -38,13 +38,13 @@ discard block |
||
38 | 38 | $this->processFactory = m::mock(ProcessFactory::class)->makePartial(); |
39 | 39 | $this->compressionFactory = m::mock(CompressionFactory::class); |
40 | 40 | $this->compressionFactory->shouldReceive('isCompression') |
41 | - ->with('gzip') |
|
42 | - ->andReturn(true); |
|
41 | + ->with('gzip') |
|
42 | + ->andReturn(true); |
|
43 | 43 | $this->compressionFactory->shouldReceive('isCompression') |
44 | - ->with('zip') |
|
45 | - ->andReturn(true); |
|
44 | + ->with('zip') |
|
45 | + ->andReturn(true); |
|
46 | 46 | $this->compressionFactory->shouldReceive('isCompression') |
47 | - ->andReturn(false); |
|
47 | + ->andReturn(false); |
|
48 | 48 | $this->findCompression = new FindCompression($this->compressionFactory); |
49 | 49 | $this->findCompression->setProcessFactory($this->processFactory); |
50 | 50 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $process->shouldReceive('getOutput')->andReturn('text/plain; charset=utf-8 compressed-encoding=application/lzop; charset=binary; charset=binary'); |
97 | 97 | |
98 | 98 | $this->processFactory->shouldReceive('createProcess') |
99 | - ->andReturn($process); |
|
99 | + ->andReturn($process); |
|
100 | 100 | |
101 | 101 | $file = new LocalFile(static::$dir . 'unknown_compression.test'); |
102 | 102 | $file->put('random stuff and things 2!'); |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $process->shouldReceive('mustRun')->andThrow(new ProcessFailedException($process)); |
117 | 117 | |
118 | 118 | $this->processFactory->shouldReceive('createProcess') |
119 | - ->andReturn($process); |
|
119 | + ->andReturn($process); |
|
120 | 120 | |
121 | 121 | $file = new LocalFile(static::$dir . 'failed_find_encoding_process.test'); |
122 | 122 | $file->put('random stuff and things 2!'); |