Commit Graph

113 Commits

Author SHA1 Message Date
andronache
44525fc3e1 Integration tests for storecfgindb in apis 2021-06-09 20:15:57 +02:00
ionutboangiu
b240d82eac Add integration tests for actions apis (incomplete) 2021-06-09 20:14:03 +02:00
ionutboangiu
35b2de5a20 Update integration tests for stats apis 2021-06-09 20:14:03 +02:00
porosnicuadrian
b90c2cd5b3 Updated APIS constants 2021-06-08 12:13:31 +02:00
Trial97
0ae31a32d6 Added all sessions APIs back 2021-06-08 12:04:47 +02:00
andronache
b4d550a1d0 100% Coverage for Config in apis and added initConfigDB func in libtest 2021-06-08 11:55:46 +02:00
andronache
89cebf4e0e Started integration tests for config in apis 2021-06-08 11:55:46 +02:00
andronache
c567eccc5f Finished integration tests for accounts in apis 2021-06-08 11:55:46 +02:00
andronache
56a49960c4 Added integration test in apis in accounts 2021-06-08 11:55:46 +02:00
andronache
e5265c957c 100% Cover test in apis 2021-06-08 11:55:46 +02:00
ionutboangiu
a2bc6f5cd3 Update integration tests for threshold apis 2021-06-08 11:54:23 +02:00
ionutboangiu
1ba9b569e2 Add integration tests for stats apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
b7b472190e Add integration tests for thresholds apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
1eb68fe1a2 Add integration tests for resource apis final 2021-06-08 11:54:23 +02:00
ionutboangiu
ae7fcf3910 Add integration tests for resource apis (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
bfa3fb7a4c Fix integration tests in apis after changing GetAttrForEvent reply type 2021-06-08 11:54:23 +02:00
ionutboangiu
c7619a604e Add cover tests for apis/routes.go 2021-06-08 11:54:23 +02:00
ionutboangiu
c5578ec7d1 Implement GetRouteProfileCount in apis/routes.go 2021-06-08 11:54:23 +02:00
ionutboangiu
33cab3f80a Cover funcs from apis/actions.go final 2021-06-08 11:54:23 +02:00
ionutboangiu
8d47fbc8b5 Add integration tests to check cache behaviour after filter update (incomplete) 2021-06-08 11:54:23 +02:00
ionutboangiu
12fca69f24 Fix cover test in apis/attributes_test.go 2021-06-08 11:54:23 +02:00
ionutboangiu
5b7e3b36a7 Cover funcs from apis/stats.go final 2021-06-08 11:54:23 +02:00
ionutboangiu
6d504a5454 Fix failing tests from apis 2021-06-08 11:54:23 +02:00
ionutboangiu
d04705617d Cover funcs from apis/thresholds.go final 2021-06-01 20:49:18 +03:00
ionutboangiu
09bf0e5d85 Cover funcs in apis/resources.go final 2021-06-01 20:49:18 +03:00
ionutboangiu
7a928d6608 Fix RemoveProfile tests for resources, stats and thresholds 2021-06-01 20:49:18 +03:00
ionutboangiu
e7061d9ba4 Add & to utils.AttrReloadCacheWithAPIOpts 1.0 2021-06-01 20:49:18 +03:00
Trial97
3d8802af99 Added some sessions APIs 2021-06-01 20:48:18 +03:00
porosnicuadrian
6bfdb6d767 Test cases for sanitization path in config sanity 2021-06-01 20:36:06 +03:00
porosnicuadrian
faaf19d806 Updated tests for path sanitizations 2021-06-01 20:36:06 +03:00
porosnicuadrian
50b7266157 Fixed test renamed IDs from function's name 2021-06-01 20:36:06 +03:00
porosnicuadrian
817c923b91 Removed IDs from count Apis + fixed all unit/integrations tests in engine 2021-06-01 20:36:06 +03:00
porosnicuadrian
0c066c844f Removed IDs from count apis 2021-06-01 20:36:06 +03:00
andronache
311fffcaac Cover tests and integratio tests for account in apis 2021-06-01 20:33:31 +03:00
andronache
b8468d3693 Cover test for accounts in apis 2021-06-01 20:33:31 +03:00
andronache
00e4fbf60d Cover test in apis for account 2021-06-01 20:33:31 +03:00
andronache
af7ec4a84c Cover test for account in apis 2021-06-01 20:33:31 +03:00
andronache
ad0f291d26 Removed faulty test 2021-05-28 13:16:01 +03:00
andronache
09c44b6e77 Cover tests in apis for accounts 2021-05-28 13:16:01 +03:00
andronache
11a15f52a8 Repaired cover test in apis 2021-05-28 13:16:01 +03:00
andronache
d9af32822c Cover tests for config in apis 2021-05-28 13:16:01 +03:00
andronache
30cbc29a74 Integration tests for filters in apis 2021-05-28 13:16:01 +03:00
andronache
f7272c1403 100% Coverage in apis for filters 2021-05-28 13:16:01 +03:00
ionutboangiu
de4101c2dc Add tests to check for cache clear/reload after filter update 2021-05-28 12:42:50 +03:00
ionutboangiu
cfacf3e66f Cover funcs from apis/actions.go 2021-05-27 10:17:13 +02:00
ionutboangiu
2d0db86b74 Cover funcs from apis/stats.go 2021-05-27 10:17:13 +02:00
ionutboangiu
e290329328 Cover funcs from apis/thresholds.go 2021-05-27 10:17:13 +02:00
ionutboangiu
d27765f6fd Implement GetStatQueueProfileIDsCount function in apis/stats.go 2021-05-27 10:17:13 +02:00
ionutboangiu
50ab1f594e Modify test names to have consistent prefix 2021-05-27 10:17:13 +02:00
andronache
13f896e94a Cover tests for filters in apis 2021-05-26 20:11:18 +02:00