@@ -82,8 +82,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
8282 WHEN (" NoteTransaction is called" ) {
8383 J *resp = NoteTransaction (req);
8484
85- THEN (" The timeout value is set to `seconds * 1000`" ) {
86- CHECK (_noteJSONTransaction_fake.arg3_val == (seconds * 1000 ));
85+ THEN (" The timeout value is set to `( seconds + 1) * 1000`" ) {
86+ CHECK (_noteJSONTransaction_fake.arg3_val == (( seconds + 1 ) * 1000 ));
8787 }
8888
8989 JDelete (resp);
@@ -103,8 +103,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
103103 WHEN (" NoteTransaction is called" ) {
104104 J *resp = NoteTransaction (req);
105105
106- THEN (" The timeout value is set to `seconds * 1000`" ) {
107- CHECK (_noteJSONTransaction_fake.arg3_val == (seconds * 1000 ));
106+ THEN (" The timeout value is set to `( seconds + 1) * 1000`" ) {
107+ CHECK (_noteJSONTransaction_fake.arg3_val == (( seconds + 1 ) * 1000 ));
108108 }
109109
110110 JDelete (resp);
@@ -124,8 +124,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
124124 WHEN (" NoteTransaction is called" ) {
125125 J *resp = NoteTransaction (req);
126126
127- THEN (" The timeout value is set to `milliseconds`" ) {
128- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
127+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
128+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
129129 }
130130
131131 JDelete (resp);
@@ -145,8 +145,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
145145 WHEN (" NoteTransaction is called" ) {
146146 J *resp = NoteTransaction (req);
147147
148- THEN (" The timeout value is set to `milliseconds`" ) {
149- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
148+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
149+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
150150 }
151151
152152 JDelete (resp);
@@ -169,8 +169,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
169169 WHEN (" NoteTransaction is called" ) {
170170 J *resp = NoteTransaction (req);
171171
172- THEN (" The timeout value is set to `milliseconds`" ) {
173- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
172+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
173+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
174174 }
175175
176176 JDelete (resp);
@@ -193,8 +193,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
193193 WHEN (" NoteTransaction is called" ) {
194194 J *resp = NoteTransaction (req);
195195
196- THEN (" The timeout value is set to `milliseconds`" ) {
197- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
196+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
197+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
198198 }
199199
200200 JDelete (resp);
@@ -248,8 +248,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
248248 WHEN (" NoteTransaction is called" ) {
249249 J *resp = NoteTransaction (req);
250250
251- THEN (" The timeout value is set to `seconds * 1000`" ) {
252- CHECK (_noteJSONTransaction_fake.arg3_val == (seconds * 1000 ));
251+ THEN (" The timeout value is set to `( seconds + 1) * 1000`" ) {
252+ CHECK (_noteJSONTransaction_fake.arg3_val == (( seconds + 1 ) * 1000 ));
253253 }
254254
255255 JDelete (resp);
@@ -269,8 +269,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
269269 WHEN (" NoteTransaction is called" ) {
270270 J *resp = NoteTransaction (req);
271271
272- THEN (" The timeout value is set to `seconds * 1000`" ) {
273- CHECK (_noteJSONTransaction_fake.arg3_val == (seconds * 1000 ));
272+ THEN (" The timeout value is set to `( seconds + 1) * 1000`" ) {
273+ CHECK (_noteJSONTransaction_fake.arg3_val == (( seconds + 1 ) * 1000 ));
274274 }
275275
276276 JDelete (resp);
@@ -290,8 +290,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
290290 WHEN (" NoteTransaction is called" ) {
291291 J *resp = NoteTransaction (req);
292292
293- THEN (" The timeout value is set to `milliseconds`" ) {
294- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
293+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
294+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
295295 }
296296
297297 JDelete (resp);
@@ -311,8 +311,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
311311 WHEN (" NoteTransaction is called" ) {
312312 J *resp = NoteTransaction (req);
313313
314- THEN (" The timeout value is set to `milliseconds`" ) {
315- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
314+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
315+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
316316 }
317317
318318 JDelete (resp);
@@ -335,8 +335,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
335335 WHEN (" NoteTransaction is called" ) {
336336 J *resp = NoteTransaction (req);
337337
338- THEN (" The timeout value is set to `milliseconds`" ) {
339- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
338+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
339+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
340340 }
341341
342342 JDelete (resp);
@@ -359,8 +359,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
359359 WHEN (" NoteTransaction is called" ) {
360360 J *resp = NoteTransaction (req);
361361
362- THEN (" The timeout value is set to `milliseconds`" ) {
363- CHECK (_noteJSONTransaction_fake.arg3_val == milliseconds);
362+ THEN (" The timeout value is set to `( milliseconds + 1000) `" ) {
363+ CHECK (_noteJSONTransaction_fake.arg3_val == ( milliseconds + 1000 ) );
364364 }
365365
366366 JDelete (resp);
@@ -376,8 +376,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
376376 WHEN (" NoteTransaction is called" ) {
377377 J *resp = NoteTransaction (req);
378378
379- THEN (" The timeout value is set to 90 seconds " ) {
380- CHECK (_noteJSONTransaction_fake.arg3_val == (90 * 1000 ));
379+ THEN (" The timeout value is set to `CARD_INTER_TRANSACTION_TIMEOUT_SEC * 1000` " ) {
380+ CHECK (_noteJSONTransaction_fake.arg3_val == (CARD_INTER_TRANSACTION_TIMEOUT_SEC * 1000 ));
381381 }
382382
383383 JDelete (resp);
@@ -393,8 +393,8 @@ SCENARIO("_noteTransaction_calculateTimeoutMs")
393393 WHEN (" NoteTransaction is called" ) {
394394 J *resp = NoteTransaction (req);
395395
396- THEN (" The timeout value is set to 90 seconds " ) {
397- CHECK (_noteJSONTransaction_fake.arg3_val == (90 * 1000 ));
396+ THEN (" The timeout value is set to `CARD_INTER_TRANSACTION_TIMEOUT_SEC * 1000` " ) {
397+ CHECK (_noteJSONTransaction_fake.arg3_val == (CARD_INTER_TRANSACTION_TIMEOUT_SEC * 1000 ));
398398 }
399399
400400 JDelete (resp);
0 commit comments