ionutboangiu
7eb78cb40e
Rename composeURI func to composeMongoURI
...
To reflect that it's used exclusively for MongoDB (for now at least).
Also added a descriptive comment to the function.
2023-12-07 16:57:43 +01:00
ionutboangiu
f23179899c
Revise buildURL function
...
Renamed to composeURI.
Use simple string concatenation to build URI because there is
no need to keep the Parse call as a validation step. Any issue
would be caught when establishing a connection.
2023-12-07 16:57:43 +01:00
ionutboangiu
4eb2b9d5d4
Replace deprecated Publish method with PublishWithContext
2023-10-27 18:51:42 +02:00
gezimbll
09619a8442
adding tests for internal storage
2023-10-16 18:17:11 +03:00
gezimbll
78ef6209da
Adding tests for internal storage
2023-10-16 18:17:11 +03:00
gezimbll
c82596c810
Adding tests for internal storage
2023-10-16 13:34:29 +03:00
ionutboangiu
950c5279a6
Delete gob marshaler test until we find a solution
...
Marshalling a value using GOBMarshaler seems to yield
inconsistent sets of bytes.
2023-10-16 13:31:14 +03:00
NikolasPetriti
49f0fa439c
Add coverage tests for engine
2023-09-15 13:52:49 +02:00
NikolasPetriti
870b6e87ae
Add gofmt
2023-09-01 17:28:31 +02:00
NikolasPetriti
fe2f034a7a
Add coverage tests for config and engine
2023-09-01 17:28:31 +02:00
NikolasPetriti
7050622bc3
Add coverage tests for utils
2023-08-28 12:18:54 +02:00
NikolasPetriti
f7807d26af
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
3e7394de75
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
bcf26daf5a
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
b590767fc2
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
97b65f9718
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
b2ce0ce167
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
5ef01e6f0b
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
af3d585d72
Add coverage tests for engine
2023-08-28 12:18:54 +02:00
NikolasPetriti
81b774f1d5
Revise invalid struct tags for tp models
2023-08-28 12:18:54 +02:00
NikolasPetriti
6779cdf533
Add coverage tests for engine
2023-08-09 13:42:30 +02:00
NikolasPetriti
e90ef030d1
Add coverage tests for engine
2023-08-09 13:42:30 +02:00
NikolasPetriti
16340546c9
Add coverage tests for engine
2023-08-07 17:19:54 +02:00
NikolasPetriti
7b016eef3b
Add coverage tests for engine
2023-08-07 11:42:27 +02:00
NikolasPetriti
4c544f427c
Add coverage tests for models.go and model_helpers.go
2023-08-07 11:42:27 +02:00
NikolasPetriti
9079248d4e
Add coverage tests for model_helpers.go
2023-08-07 11:42:27 +02:00
NikolasPetriti
d284828496
Add coverage tests for model_helpers.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
708302e753
Format all tests
2023-08-02 16:50:10 +02:00
NikolasPetriti
bb4a944135
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
a67caa6dc2
Add coverage tests for action.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
bf6592a428
Add coverage tests for account.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
5ee077df3d
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
bcfd9cb1f9
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
94afae087f
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
302cb2aec8
Add coverage tests for eventcost.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
36cfcfec26
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
NikolasPetriti
a905707f93
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
NikolasPetriti
84cb2ddd1a
Add coverage tests for libeventcost.go
2023-07-21 09:02:30 +02:00
NikolasPetriti
9bef7cdd1f
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
ionutboangiu
392b0c30e0
Fix failing unit tests due to redis dependency
2023-07-18 16:37:06 +02:00
ionutboangiu
8174618f73
Apply gofmt
2023-07-18 16:37:06 +02:00
ionutboangiu
d7c6afb82a
Revert "Revise syntax for the struct tag values pointed out by go vet"
...
This reverts commit 9c16f9da5a .
Fixing struct tag values is causing some tests to fail. An issue has
been opened internally which talks in depth about the issue.
2023-07-18 16:37:06 +02:00
ionutboangiu
49bf8abc53
Fix a couple more go vet errors
2023-07-18 16:37:06 +02:00
ionutboangiu
ae67776d30
Make sure no loop variables are captured by func literals
2023-07-18 16:37:06 +02:00
ionutboangiu
c4e820457b
Revise syntax for the struct tag values pointed out by go vet
2023-07-18 16:37:06 +02:00
ionutboangiu
2e9653b551
Apply gofmt
2023-07-18 16:37:06 +02:00
NikolasPetriti
95b99614d5
Add coverage tests for balance_filter.go and storage_interface.go
2023-07-14 17:09:31 +02:00
NikolasPetriti
62a8601131
Add coverage tests for balances.go and calldesc.go
2023-07-14 11:27:32 +02:00
NikolasPetriti
df9947730c
Add coverage tests for balances.go, resources.go and storage_utils.go
2023-07-13 10:23:31 +02:00
NikolasPetriti
710a8d78be
Add coverage tests for filters.go
2023-07-13 10:23:31 +02:00