Skip to content

Commit

Permalink
init middleware test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdedman committed Apr 13, 2024
1 parent 8b6ae08 commit f92f99d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions internal/middlewares/auth_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package middleware_test

import (
"testing"

middleware "github.com/golang-web-app/internal/middlewares"
"github.com/stretchr/testify/assert"
)

func TestAuthMiddleware(t *testing.T) {
auth := middleware.AuthMiddleware()
assert.NotEmpty(t, auth)
}

0 comments on commit f92f99d

Please sign in to comment.