Преглед изворни кода

: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{
 	public function testSaveException():void{
 		$this->expectException(QRCodeOutputException::class);
 		$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 = $this->getOutputInterface($this->options);
 		$this->outputInterface->dump();
 		$this->outputInterface->dump();
 	}
 	}