ソースを参照

: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();
 	}