Преглед на файлове

:octocat: fix windows test testSaveException()

codemasher преди 4 години
родител
ревизия
39ed4c36da
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      tests/Output/QROutputTestAbstract.php

+ 2 - 2
tests/Output/QROutputTestAbstract.php

@@ -71,9 +71,9 @@ abstract class QROutputTestAbstract extends TestCase{
 	 */
 	public function testSaveException():void{
 		$this->expectException(QRCodeOutputException::class);
-		$this->expectExceptionMessage('Could not write data to cache file: /foo');
+		$this->expectExceptionMessage('Could not write data to cache file: /foo/bar.test');
 
-		$this->options->cachefile = '/foo';
+		$this->options->cachefile = '/foo/bar.test';
 		$this->outputInterface = $this->getOutputInterface($this->options);
 		$this->outputInterface->dump();
 	}