Commit Graph

5026 Commits

Author SHA1 Message Date
arberkatellari
e17d952f9c Add warning for uncomputable increments 2023-05-18 19:27:43 +02:00
gezimbll
7a0ff57a36 Improving coverage tests 2023-05-07 19:25:48 +02:00
gezimbll
11e2e2dbb8 Improving coverage of unit tests 2023-05-07 19:25:48 +02:00
ionutboangiu
373df2329c Revise CDR rerating
If the reRate parameter is set to true, also set the refund to true.

The rerate parameter is now no longer hardcoded to true for the RateCDRs API.If
required, the "*rerate" flag must be provided by the caller.

In case CostDetails is not populated, retrieve it from StorDB if possible
and add it to the CGREvent before converting to CDRs.

Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-20 20:06:16 +02:00
ionutboangiu
d262aaac8b Revise CDR rerating
If the reRate parameter is set to true, also set the refund to true.

In case CostDetails is not populated, before attempting to refund try to
retrieve it from StorDB.

Now that the refund happens before the debit, revise the expected values for
the testV1CDRsProcessEventWithRefund subtest within the
apier/v1/cdrs_it_test.go file.
2023-04-19 16:09:41 +02:00
gezimbll
7dd79308b8 fixing it tests for db type 2023-03-08 19:15:23 +01:00
gezimbll
b221a385e4 changed internal db type to *internal 2023-03-08 19:15:23 +01:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
d69f08890b Compare GetStorageType() output to the correct constant 2023-03-01 16:13:49 +01:00
ionutboangiu
b27ed9f53e Fix caps error typo 2023-02-16 11:28:36 +01:00
gezimbll
2217d1525c improving coverage at engine 2023-01-30 08:13:06 +01:00
gezimbll
d9821eb1bb improving coverage test at engine 2023-01-30 08:13:06 +01:00
gezimbll
4b4c591288 improving coverage at engine 2023-01-25 18:28:20 +01:00
gezimbll
b2afa909bc improving coverage at engine 2023-01-25 18:28:20 +01:00
gezimbll
0b9cf7ba7a improving coverage at engine 2023-01-23 17:30:36 +01:00
gezimbll
24a8143e02 improving coverage at engine 2023-01-20 18:23:45 +01:00
gezimbll
19125bf4e3 improving coverage at engine 2023-01-16 18:48:18 +01:00
gezimbll
aabab0b87c Improving coverage at engine 2023-01-13 16:28:40 +01:00
gezimbll
f626bdde2d Improving coverage at engine 2023-01-13 16:28:40 +01:00
gezimbll
db4dda2c10 Improving coverage at engine 2023-01-13 16:28:40 +01:00
adi
4c9d737b1d it tests and driver comments deleted 2023-01-13 16:22:48 +01:00
ionutboangiu
11bb48947e Also look for account id inside APIOpts 2023-01-13 16:22:02 +01:00
gezimbll
85fe98f5b2 Improving coverage at engine 2023-01-07 17:50:13 +01:00
gezimbll
edc72f8b35 Improving coverage at engine 2023-01-07 17:50:13 +01:00
gezimbll
e301ff3fc1 Improving coverage test at engine 2023-01-07 17:50:13 +01:00
gezimbll
9042aeced0 Improving coverage at engine 2022-12-27 18:30:15 +02:00
gezimbll
15f2a9ff75 Improving coverage at engine 2022-12-27 18:30:15 +02:00
gezimbll
ceae4ab3e8 Improving coverage at engine 2022-12-27 18:30:15 +02:00
gezimbll
8911ab3622 Improving coverage at engine 2022-12-20 18:28:58 +02:00
gezimbll
2c1cefe9d4 Improving coverage at engine 2022-12-20 18:28:58 +02:00
gezimbll
03b838962a Improving coverage at engine 2022-12-20 18:28:58 +02:00
gezimbll
1cbd76cb52 Improving coverage at engine 2022-12-20 18:28:58 +02:00
gezimbll
505709b26f Improving coverage at engine 2022-12-15 12:05:38 +02:00
gezimbll
33635856c1 Improving coverage at engine 2022-12-13 18:14:13 +02:00
gezimbll
2977069618 Improving coverage at engine 2022-12-13 17:11:42 +02:00
gezimbll
12447c3f49 improving coverage at engine 2022-12-12 11:18:27 +02:00
gezimbll
a27bf2426f improving coverage at engine 2022-12-08 15:43:17 +02:00
gezimbll
b8f131a9a5 improving coverage at engine 2022-12-07 17:32:45 +02:00
gezimbll
e4a82a57d4 improving coverage at engine 2022-12-06 11:41:35 +02:00
gezimbll
aff54e84a3 improving coverage tests at engine 2022-12-02 18:40:40 +02:00
gezimbll
fd23a70bd1 engine&utils:improving coverage tests 2022-12-02 18:40:40 +02:00
DanB
258492fcf3 Updating EventCost tests using SecureMapStorage 2022-11-30 19:53:05 +01:00
DanB
751bcc7b2f SecureMapStorage as cache for EventCost 2022-11-30 19:41:38 +01:00
gezimbll
1897b88602 coverage tests at engine 2022-11-30 16:58:49 +02:00
gezimbll
4b8f5c7c23 improving coverage tests at engine 2022-11-30 16:58:49 +02:00
gezimbll
894cca43c9 improving coverage test at engine 2022-11-30 16:58:49 +02:00
gezimbll
92e20fb85e caches: improving coverage tests 2022-11-30 16:58:49 +02:00
gezimbll
710b6344fa caches:improving coverage test 2022-11-30 16:58:49 +02:00
gezimbll
9f66f6848c improving coverage tests at engine 2022-11-30 16:58:49 +02:00
gezimbll
e708cbc3b7 improving tests at engine 2022-11-30 16:58:49 +02:00