Fix incorrect usage of OptionalParam in tests


The class actually belongs to QtOpenApiCommon namespace, not
QtOpenAPI.
It was working just by accident, most probably because we have
the "using namespace" declarations for both of the namespaces in
the beginning of each test.

Still, it was not correct, so fix it by simply not using any
namespace.

Pick-to: 6.11
Change-Id: I13a01ea0154e2622e843a916d79e84dae05878c5
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit0db4665db07d74695d92da1ccdbfb07dcd006fdb
parent3a21742fb66cd54d52cfd209d77445f482281a97
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 13 Jan 2026 14:58:22 +0100