Commit Graph

47 Commits

Author SHA1 Message Date
armirveliaj
c8f246162d add unit test for RateProfileSetFilterIDs 2025-12-04 16:38:35 +01:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
armirveliaj
0aae6f5d26 Add coverage tests on sessions && ips 2025-09-03 12:30:50 +02:00
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
arberkatellari
fd0bec2e10 Improving Coverage at Utils 2022-11-22 13:58:17 +02:00
arberkatellari
acafea967a improving coverage at utils 2022-11-20 18:48:03 +01:00
arberkatellari
f579e05221 Improving coverage at utils 2022-11-18 11:48:24 +01:00
arberkatellari
8abd4d93c4 Improving coverage at utils 2022-11-18 11:48:24 +01:00
arberkatellari
320c179fee Improving coverage at utils 2022-11-16 11:55:25 +01:00
ionutboangiu
6bcb9b0008 Switch from redis keys to scan for GetKeys driver + tests and fixes 2022-07-19 17:17:33 +02:00
adi
341f33873b Improved attempts and faield posts dir cfg in action/ers 2022-07-19 17:15:42 +02:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
ionutboangiu
aa9f11ab6f Add tests for all the created clone functions 2022-02-14 20:45:49 +02:00
porosnicuadrian
2c587c1b6c Redesigned APIRateProfile + tests 2022-02-06 09:49:37 +01:00
ionutboangiu
d9704ef00a Update tests after making changes to profile loading 2022-01-21 17:11:56 +01:00
Trial97
1a61335b62 Added tests for FieldAsInterface methods 2021-12-21 15:05:44 +01:00
Trial97
0e363e7104 Added tests for account 2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77 Added tests for all Set methods 2021-12-21 15:05:44 +01:00
Trial97
46f0ddb860 Added decimal context config 2021-12-15 19:57:25 +01:00
nickolasdaniel
907b9476b1 Unit testing for config and utils 2021-11-04 20:07:54 +02:00
nickolasdaniel
88e07e0f5d Unit tests in utils 2021-11-04 20:07:54 +02:00
nickolasdaniel
e1ba6f7457 Unit testing in utils 2021-10-27 19:49:29 +03:00
porosnicuadrian
ee4a0ad36e FIxed tests without External structs 2021-10-12 18:10:49 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
porosnicuadrian
6678b03969 Renaming IntervalRateIndex to RateIntervalIndex within RateSIncrement 2021-06-23 20:54:32 +02:00
porosnicuadrian
498bfdeac5 Last fixes for RateProfileCost 2021-06-23 20:54:32 +02:00
porosnicuadrian
57f6a6fc6d Fixed tests for RatesINtervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
0213bfa28f CostIntervals instead of RateSIntervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
411e4a4515 Decimal fields instead of float in RateProfileCOst + tests 2021-06-22 19:24:00 +02:00
porosnicuadrian
5f1bdadade Chaned test by adding IntervalRates + little fixes 2021-05-17 17:58:44 +02:00
ionutboangiu
c3cd02f02b Remove ActivationInterval from RateProfile 2021-05-17 17:54:24 +02:00
porosnicuadrian
7c96ee6f01 Tested all functionalities 2021-05-12 16:26:10 +02:00
porosnicuadrian
f6dbb2b782 New Equals Methods for RateProfile Cost + new rates field 2021-05-12 16:26:10 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
porosnicuadrian
95d4a6cd96 Fixed CompressFactor check for comparing 2021-05-06 13:56:43 +02:00
porosnicuadrian
f2ebf29109 Tested AsExt methods for all ExtEventChargers Fields 2021-04-13 17:45:48 +02:00
porosnicuadrian
1d12c10281 Tests for Equals and CompressEquals methods 2021-03-26 19:15:42 +01:00
Trial97
b8437f4a7d Updated utils tests 2021-03-26 13:46:25 +01:00
ionutboangiu
278e583bf6 Switch expected with received 2021-03-16 13:13:37 +01:00
ionutboangiu
4b2264f9fb Cover funcs in utils/librates.go 2021-03-12 21:03:01 +01:00
ionutboangiu
207fd90066 Fix both CompressEquals tests in utils/librates.go 2021-03-11 17:28:42 +01:00
ionutboangiu
96104c6763 Cover funcs in librates.go 2021-03-11 17:28:42 +01:00
ionutboangiu
6f216c221c Cover Compile and RunTimes in utils/librates.go 2021-03-11 17:28:42 +01:00
ionutboangiu
f36b543df3 Cover functions in utils/librates.go 2021-03-10 17:50:20 +01:00