We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a381e8a + 571a819 commit 47e9b19Copy full SHA for 47e9b19
tests/phpunit/Processor/ProcessorTest.php
@@ -247,4 +247,25 @@ private function processFiles($input, $output)
247
248
return $processor->getFiles();
249
}
250
+
251
+ /**
252
+ * @see ScriptHandler::processFiles
253
+ * @test
254
+ */
255
+ public function saveOutput()
256
+ {
257
+ $processor = new Processor($this->io);
258
259
+ $expectedOutputFile = $this->getRootDirectory() . '/../var/tests/' . __FUNCTION__ . '.css';
260
+ @unlink($expectedOutputFile);
261
+ $processor->attachFiles(
262
+ $this->getSharedFixturesDirectory() . '/scss',
263
+ $expectedOutputFile
264
+ );
265
+ $processor->processFiles(Processor::FORMATTER_COMPRESSED);
266
267
+ $processor->saveOutput();
268
269
+ $this->assertFileExists($expectedOutputFile);
270
+ }
271
0 commit comments