Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
aradwann committed Dec 26, 2023
1 parent 264ab7e commit 47b6f7c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
3 changes: 0 additions & 3 deletions api/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ func TestCreateUserAPI(t *testing.T) {
},
checkResponse: func(recorder *httptest.ResponseRecorder) {
require.Equal(t, http.StatusOK, recorder.Code)
fmt.Printf("gotttt body %#v", recorder.Body.String())
fmt.Printf("user %#v", recorder.Body.String())
requireBodyMatchUser(t, recorder.Body, user)
},
},
Expand Down Expand Up @@ -176,7 +174,6 @@ func TestCreateUserAPI(t *testing.T) {

t.Run(tc.name, func(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()

store := mockdb.NewMockStore(ctrl)
tc.buildStubs(store)
Expand Down
1 change: 1 addition & 0 deletions db/migrations/procs/create_user.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DROP PROCEDURE IF EXISTS create_user;
CREATE OR REPLACE PROCEDURE create_user(
INOUT p_username VARCHAR,
INOUT p_hashed_password VARCHAR,
Expand Down
1 change: 1 addition & 0 deletions db/migrations/procs/get_user.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DROP PROCEDURE IF EXISTS get_user;
CREATE OR REPLACE PROCEDURE get_user(
IN p_username VARCHAR,
OUT username_out VARCHAR,
Expand Down
1 change: 1 addition & 0 deletions db/migrations/procs/update_user.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DROP PROCEDURE IF EXISTS update_user;
CREATE OR REPLACE PROCEDURE update_user(
p_username VARCHAR,
p_hashed_password VARCHAR,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 // indirect
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 h1:+iq7lrkxmFNBM7xx+Rae2W6uyPfhPeDWD+n+JgppptE=
golang.org/x/exp v0.0.0-20231219180239-dc181d75b848/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
Expand Down

0 comments on commit 47b6f7c

Please sign in to comment.