Index: vhUnitTest/APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler/Test.cls.xml =================================================================== diff -u -r40960 -r40969 --- vhUnitTest/APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler/Test.cls.xml (.../Test.cls.xml) (revision 40960) +++ vhUnitTest/APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler/Test.cls.xml (.../Test.cls.xml) (revision 40969) @@ -19,6 +19,7 @@ Do VerkoopAPIMock.VerwachtMethodCall("GeefKlant", "K||KlantID").DanReturn(VanHoeckeKlant) Set ToegangRepositoryMock = ##class(vhTest.Mock.Derde.EC.ToegangRepository).%New() + Do ToegangRepositoryMock.VerwachtMethodCall("ZoekGebruikerIDViaEmail", "dummy@dum.my").DanReturn(..GeefGebruikerIDLijst()) Do ToegangRepositoryMock.VerwachtMethodCall("GeefViaID", "GebruikerID").DanReturn(Toegang) Set KlantBepaler = ##class(APPS.Blum.impl.OnlineProductConfigurator.KlantBepaler).%New(UserCartValidatorMock, LegacyPartijAPIMock, VerkoopAPIMock,ToegangRepositoryMock) @@ -43,6 +44,7 @@ Do UserCartValidatorStub.IndienMethodCall("GeefGebruikerID", $$$ElkeWaarde).DanReturn("") Set ToegangRepositoryStub = ##class(vhTest.Mock.Derde.EC.ToegangRepository).%New() + Do ToegangRepositoryStub.IndienMethodCall("ZoekGebruikerIDViaEmail", "dummy@dum.my").DanReturn(..GeefGebruikerIDLijst()) Do ToegangRepositoryStub.IndienMethodCall("GeefViaID", $$$ElkeWaarde).DanReturn(Toegang) #dim Substrings = ##class(TECH.ListUtils).CreateListOfDataTypes("Geen ondersteuning voor meerdere klanten") @@ -58,6 +60,7 @@ APPS.Blum.OnlineProductConfigurator.dto.Winkelkar @@ -84,6 +87,16 @@ Quit Klant ]]> + + +1 +%ListOfDataTypes + + Index: APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler.cls.xml =================================================================== diff -u -r40960 -r40969 --- APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler.cls.xml (.../KlantBepaler.cls.xml) (revision 40960) +++ APPS/Blum/impl/OnlineProductConfigurator/KlantBepaler.cls.xml (.../KlantBepaler.cls.xml) (revision 40969) @@ -3,6 +3,11 @@ TECH.Mockable + +%String +0 + + APPS.Blum.impl.UserCartValidator 1 @@ -50,22 +55,38 @@ APPS.Blum.OnlineProductConfigurator.dto.Klant + +Email:%String +1 +%Boolean + 0) +]]> + + AantalKlanten:%Integer 1