Fix tests after #7526
Merge pull request #7557 from Razer6/fix_tests

Fix merge request API after #7526