Skip to content

Commit ce23a0f

Browse files
committed
test: Ignore return value when exception is expected to be thrown
1 parent 9a503ac commit ce23a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Uri/UriRetrieverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public function testLoadSchemaJSONDecodingException()
392392
'JsonSchema\Exception\JsonDecodingException',
393393
'JSON syntax is malformed'
394394
);
395-
$schema = $retriever->retrieve('package://tests/fixtures/bad-syntax.json');
395+
$retriever->retrieve('package://tests/fixtures/bad-syntax.json');
396396
}
397397

398398
public function testGenerateURI()

0 commit comments

Comments
 (0)