[unittests] Use enum name instead of literal 0 (NFC) (#77328)
For some reason this piece of code was triggering an error when building
unified in which a suitable overload for `0` (and `int`) could not be
found. Use the named enum value instead to avoid the problem.