aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaiTon2023-04-29 15:28:58 +0000
committerVaiTon2023-04-29 15:29:03 +0000
commitf636945a42e8d0d0408c2a980ca0a9b9cbbc2927 (patch)
treee360764e493c5401336dd43cb265ad97c7bf6c5e
parent67d19bf34c1c48045018262d7607c50c9d9f1b43 (diff)
Fix connection_handler_test
-rw-r--r--connection_handler_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/connection_handler_test.go b/connection_handler_test.go
index 3f959c7..942310a 100644
--- a/connection_handler_test.go
+++ b/connection_handler_test.go
@@ -199,6 +199,10 @@ func (rm TestRulesManager) AddRule(_ context.Context, _ Rule) (RowID, error) {
return RowID{}, nil
}
+func (rm TestRulesManager) DeleteRule(_ context.Context, _ RowID) error {
+ return nil
+}
+
func (rm TestRulesManager) GetRule(_ RowID) (Rule, bool) {
return Rule{}, false
}