Просмотр исходного кода

:octocat: will this test now work on CI?

codemasher 4 лет назад
Родитель
Сommit
f092e86847
1 измененных файлов с 5 добавлено и 8 удалено
  1. 5 8
      tests/Output/QROutputTestAbstract.php

+ 5 - 8
tests/Output/QROutputTestAbstract.php

@@ -71,17 +71,14 @@ abstract class QROutputTestAbstract extends TestCase{
 	 */
 	public function testSaveException():void{
 
-		if(PHP_OS_FAMILY === 'Windows'){
-			$this::markTestSkipped('why does this fail on CI??');
-
-			/** @noinspection PhpUnreachableStatementInspection */
-			return;
-		}
+#		if(PHP_OS_FAMILY === 'Windows'){
+#			$this::markTestSkipped('why does this fail on CI??');
+#		}
 
 		$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');
 
-		$this->options->cachefile = '/foo';
+		$this->options->cachefile = '/foo.bar';
 		$this->outputInterface = $this->getOutputInterface($this->options);
 		$this->outputInterface->dump();
 	}