test: fix two tests on PHP8
On PHP8 trying to access a non-existing array key leads to a warning, which we might treat as errors? This incidentally also fixes another test downstream which broke because this rendering test changes the global plugin controller, but doesn't clean it up that if the test errors. -9000 is used as the position to make it obvious that this number is meaningless for this test.
This commit is contained in:
parent
5805f15af0
commit
e855b7ed6a
|
@ -77,7 +77,7 @@ class parserutils_set_metadata_during_rendering_test extends DokuWikiTest
|
|||
public function helper_inject_test_instruction($event)
|
||||
{
|
||||
if ($this->active) {
|
||||
$event->data->calls[] = ['plugin', ['parserutils_test', []]];
|
||||
$event->data->calls[] = ['plugin', ['parserutils_test', []], -9000];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue