Kelvin Clement Mwinuka
bdfaf5446a
Updated logic for loading acl config. If the config file does not exist, it will be created.
2024-06-01 22:16:16 +08:00
Kelvin Clement Mwinuka
fdb3b87362
Implemented ACL tests using test suites and server cleanup functions.
2024-06-01 01:08:36 +08:00
Kelvin Clement Mwinuka
6f8511632e
Close client connection on quit command
2024-05-30 20:01:24 +08:00
Kelvin Clement Mwinuka
502e804459
Removed logic to get unexported methods from the echovault package in all tests.
2024-05-30 19:33:01 +08:00
Kelvin Clement Mwinuka
0108444d69
Replaced fmt.Println statements with log.Println.
...
Return "empty command" error from handleCommand method if an empty command is passed to the server.
Wait until connection is no longer nil in acl package tests.
2024-05-27 11:45:48 +08:00
Kelvin Clement Mwinuka
193871ec72
Removed test folder and moved all commands tests to their respective internal modules. Moved api tests into echovault package. This change has been made because the speratate test folder is not idiomatic and caused test coverage report to not be generated.
2024-05-04 17:45:10 +08:00