Skip to content

Commit

Permalink
finish unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMuftic committed May 28, 2024
1 parent 6a254fd commit 63764ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ func TestURLTokenAuth(t *testing.T) {
url: "/some/path/valid_token",
expectedStatus: http.StatusOK,
},
{
name: "Valid token",
url: "/some/really/long/path/valid_token",
expectedStatus: http.StatusOK,
},
{
name: "Invalid token",
url: "/some/path/invalid_token",
Expand Down

0 comments on commit 63764ee

Please sign in to comment.