summaryrefslogtreecommitdiff
path: root/pkg/web/json_web_key_sets_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/web/json_web_key_sets_test.go')
-rw-r--r--pkg/web/json_web_key_sets_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/web/json_web_key_sets_test.go b/pkg/web/json_web_key_sets_test.go
index 578860f..1ecb7ff 100644
--- a/pkg/web/json_web_key_sets_test.go
+++ b/pkg/web/json_web_key_sets_test.go
@@ -11,6 +11,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
+ "mokhan.ca/xlgmokha/oauth/pkg/dto"
)
func TestJsonWebKeySets(t *testing.T) {
@@ -31,7 +32,7 @@ func TestJsonWebKeySets(t *testing.T) {
assert.Equal(t, w.Header().Get("Content-Type"), "application/json")
- var c JsonWebKeySet
+ var c dto.JsonWebKeySet
json.NewDecoder(w.Body).Decode(&c)
assert.Equal(t, 1, len(c.Keys))