Skip to content

Commit

Permalink
Update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Jun 4, 2021
1 parent edf08c1 commit 86954ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/grpc/storageprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var _ = Describe("storage providers", func() {
// Add auth token
tokenManager, err := jwt.New(map[string]interface{}{"secret": "changemeplease"})
Expect(err).ToNot(HaveOccurred())
scope, err := scope.GetOwnerScope()
scope, err := scope.AddOwnerScope(nil)
Expect(err).ToNot(HaveOccurred())
t, err := tokenManager.MintToken(ctx, user, scope)
Expect(err).ToNot(HaveOccurred())
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/grpc/userprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _ = Describe("user providers", func() {
}
tokenManager, err := jwt.New(map[string]interface{}{"secret": "changemeplease"})
Expect(err).ToNot(HaveOccurred())
scope, err := scope.GetOwnerScope()
scope, err := scope.AddOwnerScope(nil)
Expect(err).ToNot(HaveOccurred())
t, err := tokenManager.MintToken(ctx, user, scope)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit 86954ea

Please sign in to comment.