tests: Avoid a warning about passing a pointer to a const uninitialized object.

I've seen this with clang version 21.1.5.

Merge request reports

Loading