Fix tests

This commit is contained in:
Barry vd. Heuvel
2022-10-31 16:20:50 +01:00
parent 6eafab0ff3
commit ad1e63e15c
4 changed files with 9 additions and 8 deletions
+4 -3
View File
@@ -166,12 +166,12 @@ DOCBLOCK;
}
/**
* @expectedException \InvalidArgumentException
*
*
* @return void
*/
public function testExceptionOnInvalidObject()
{
$this->expectException(\InvalidArgumentException::class);
new DocBlock($this);
}
@@ -204,8 +204,9 @@ DOCBLOCK;
*/
public function testInvalidTagBlock()
{
if (0 == ini_get('allow_url_include')) {
if (!ini_get('allow_url_include')) {
$this->markTestSkipped('"data" URIs for includes are required.');
return;
}
include 'data:text/plain;base64,'. base64_encode(