Skip to content

Commit

Permalink
fix: add error check
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Mar 8, 2021
1 parent d00955b commit dd806bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/relationtuple/transact_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func TestWriteHandlers(t *testing.T) {
Subject: &relationtuple.SubjectID{ID: "subj"},
}
payload, err := json.Marshal(rt)
require.NoError(t, err)

req, err := http.NewRequest(http.MethodPut, ts.URL+relationtuple.RouteBase, bytes.NewBuffer(payload))
require.NoError(t, err)
Expand Down

0 comments on commit dd806bf

Please sign in to comment.