fixed unit tests
minor #13092 fixed unit tests (fabpot)

This PR was merged into the 2.6 branch.

Discussion
----------

fixed unit tests

see #13047

Commits
-------

1f98e60 fixed unit tests