@@ -50,7 +50,7 @@ contract ProductApplicationTest is GifTest {
5050
5151 bytes memory data = "bla di blubb " ;
5252 SimpleProduct dproduct = SimpleProduct (address (product));
53- RiskId riskId = dproduct.createRisk (" 42x4711 " , data);
53+ RiskId riskId = dproduct.createRisk (data);
5454
5555 NftId policyNftId = dproduct.createApplication (
5656 customer,
@@ -77,8 +77,8 @@ contract ProductApplicationTest is GifTest {
7777 function test_Product_createApplication_invalidRisk () public {
7878 vm.startPrank (productOwner);
7979
80- RiskId riskId = product.createRisk ("42x4711 " , " bla di blubb " );
81- RiskId riskId2 = RiskIdLib.toRiskId (productNftId, " 42x4712 " );
80+ RiskId riskId = product.createRisk ("bla di blubb " );
81+ RiskId riskId2 = RiskIdLib.toRiskId (888 );
8282 Seconds lifetime = SecondsLib.toSeconds (30 );
8383 ReferralId noReferral = ReferralLib.zero ();
8484 Amount sumInsured = AmountLib.toAmount (1000 );
@@ -103,7 +103,7 @@ contract ProductApplicationTest is GifTest {
103103 function test_Product_createApplication_lockedRisk () public {
104104 vm.startPrank (productOwner);
105105
106- RiskId riskId = product.createRisk ("42x4711 " , " bla di blubb " );
106+ RiskId riskId = product.createRisk ("bla di blubb " );
107107 Seconds lifetime = SecondsLib.toSeconds (30 );
108108 ReferralId noReferral = ReferralLib.zero ();
109109 Amount sumInsured = AmountLib.toAmount (1000 );
@@ -131,7 +131,7 @@ contract ProductApplicationTest is GifTest {
131131 // GIVEN
132132 vm.startPrank (productOwner);
133133
134- RiskId riskId = product.createRisk ("42x4711 " , " bla di blubb " );
134+ RiskId riskId = product.createRisk ("bla di blubb " );
135135 Seconds lifetime = SecondsLib.toSeconds (30 );
136136 ReferralId noReferral = ReferralLib.zero ();
137137 Amount sumInsured = AmountLib.toAmount (1000 );
@@ -168,7 +168,7 @@ contract ProductApplicationTest is GifTest {
168168 // GIVEN
169169 vm.startPrank (productOwner);
170170
171- RiskId riskId = product.createRisk ("42x4711 " , " bla di blubb " );
171+ RiskId riskId = product.createRisk ("bla di blubb " );
172172 Seconds lifetime = SecondsLib.toSeconds (30 );
173173 ReferralId referralId = ReferralLib.toReferralId (distributionNftId, "UNKNOWN " );
174174 Amount sumInsured = AmountLib.toAmount (1000 );
@@ -201,7 +201,7 @@ contract ProductApplicationTest is GifTest {
201201
202202 vm.startPrank (productOwner);
203203 bytes memory data = "bla di blubb " ;
204- RiskId riskId = product.createRisk (" 42x4711 " , data);
204+ RiskId riskId = product.createRisk (data);
205205 vm.stopPrank ();
206206
207207 vm.startPrank (customer);
@@ -241,7 +241,7 @@ contract ProductApplicationTest is GifTest {
241241
242242 vm.startPrank (productOwner);
243243 bytes memory data = "bla di blubb " ;
244- RiskId riskId = product.createRisk (" 42x4711 " , data);
244+ RiskId riskId = product.createRisk (data);
245245 vm.stopPrank ();
246246
247247 vm.startPrank (customer);
0 commit comments