Fix compile errors in PalantirManagerUnitTest