Change the SqlQuery functions parameters on Function Spec

This commit is contained in:
Hein
2025-12-11 15:42:00 +02:00
parent 6d88f2668a
commit c50eeac5bf
3 changed files with 29 additions and 16 deletions

View File

@@ -576,7 +576,7 @@ func TestHookIntegrationWithHandler(t *testing.T) {
req := createTestRequest("GET", "/test", nil, nil, nil)
w := httptest.NewRecorder()
handlerFunc := handler.SqlQuery("SELECT * FROM users WHERE id = 1", false)
handlerFunc := handler.SqlQuery("SELECT * FROM users WHERE id = 1", SqlQueryOptions{})
handlerFunc(w, req)
if !hookCalled {