Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliaromao committed Nov 28, 2023
1 parent 9ef71f4 commit bdb0629
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions internal/serve/httphandler/receiver_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1618,20 +1618,7 @@ func Test_ReceiverHandler_BuildReceiversResponse(t *testing.T) {
}

func Test_ReceiverHandler_GetReceiverVerificatioTypes(t *testing.T) {
dbt := dbtest.Open(t)
defer dbt.Close()

dbConnectionPool, err := db.OpenDBConnectionPool(dbt.DSN)
require.NoError(t, err)
defer dbConnectionPool.Close()

models, err := data.NewModels(dbConnectionPool)
require.NoError(t, err)

handler := &ReceiverHandler{
Models: models,
DBConnectionPool: dbConnectionPool,
}
handler := &ReceiverHandler{}

rr := httptest.NewRecorder()
req, err := http.NewRequest(http.MethodGet, "/receivers/verification-types", nil)
Expand Down

0 comments on commit bdb0629

Please sign in to comment.