Skip to content

Commit

Permalink
fixes to appease CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 16, 2024
1 parent 85aa85d commit 103b691
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/tests/api/user_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ func TestCreateUserTagsFailsOnInvalidKey(t *testing.T) {
}

for _, body := range invalidBody {
body := body

appAssert = appAssert.TestOnError(
h.TestRequest{
Method: fiber.MethodPost,
Expand Down
2 changes: 2 additions & 0 deletions backend/tests/api/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ func TestUpdateUserFailsOnInvalidBody(t *testing.T) {
{"year": 1963},
{"college": "UT-Austin"},
} {
invalidData := invalidData

appAssert.TestOnErrorAndTester(
h.TestRequest{
Method: fiber.MethodPatch,
Expand Down

0 comments on commit 103b691

Please sign in to comment.