Index: vhUnitTest/APPS/VKP/Offerte/impl/BesteldeOfferteMelder/HttpVerzender/dto/OfferteGenerator/Test.cls.xml =================================================================== diff -u -r40902 -r45365 --- vhUnitTest/APPS/VKP/Offerte/impl/BesteldeOfferteMelder/HttpVerzender/dto/OfferteGenerator/Test.cls.xml (.../Test.cls.xml) (revision 40902) +++ vhUnitTest/APPS/VKP/Offerte/impl/BesteldeOfferteMelder/HttpVerzender/dto/OfferteGenerator/Test.cls.xml (.../Test.cls.xml) (revision 45365) @@ -25,6 +25,7 @@ #dim KlantCode As %String = "KlantCode" #dim EDINummerVoorEindklant As %String = "EDINummerVoorEindklant" + #dim VanHoeckePersonality As DOM.common.VanHoeckePersonality = ##class(DOM.common.VanHoeckePersonality).Instance() Do ##class(TECH.Context.RuntimeContext).Instance().ZetPersonalityID(RandomPersonalityId) #dim PersonalityStub As vhTest.Mock.DOM.common.Personality = ##class(vhTest.Mock.DOM.common.Personality).%New() @@ -61,6 +62,7 @@ #dim DomCommonAPIStub As vhTest.Mock.DOM.common.CommonAPI = ##class(vhTest.Mock.DOM.common.CommonAPI).MockInstance() Do DomCommonAPIStub.IndienMethodCall("GeefPersonality", RandomPersonalityId).DanReturn(PersonalityStub) + Do DomCommonAPIStub.IndienMethodCall("GeefPersonality", 1).DanReturn(VanHoeckePersonality) #dim AppsCommonAPI As vhTest.Mock.APPS.common.CommonAPI = ##class(vhTest.Mock.APPS.common.CommonAPI).MockInstance() Do AppsCommonAPI.IndienMethodCall("GeefDataService", $$$ElkeWaarde).DanReturn(DataServiceStub)