aboutsummaryrefslogtreecommitdiff
path: root/connection_handler_test.go
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-04-15 10:10:21 +0000
committerEmiliano Ciavatta2020-04-15 10:10:21 +0000
commita32ff72dfe0c2aba3e51bd9536d5e11a30a9d73d (patch)
tree4d7b0f9e6b4b5dfeda26328df31b773919cf0d79 /connection_handler_test.go
parenta56a4e391d541ae05de0203f3d493edc3b04681d (diff)
Add rules_manager tests
Diffstat (limited to 'connection_handler_test.go')
-rw-r--r--connection_handler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/connection_handler_test.go b/connection_handler_test.go
index dd097e4..9fe41af 100644
--- a/connection_handler_test.go
+++ b/connection_handler_test.go
@@ -186,8 +186,8 @@ func (rm TestRulesManager) GetRule(_ RowID) (Rule, bool) {
return Rule{}, false
}
-func (rm TestRulesManager) UpdateRule(_ context.Context, _ RowID, _ Rule) bool {
- return false
+func (rm TestRulesManager) UpdateRule(_ context.Context, _ RowID, _ Rule) (bool, error) {
+ return false, nil
}
func (rm TestRulesManager) GetRules() []Rule {