mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:07:22 +00:00
fix(tests): go version of tests (#618)
This commit is contained in:
parent
edfd9d2038
commit
578453b024
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -6,7 +6,7 @@ env:
|
||||
REGISTRY: docker.pkg.github.com
|
||||
IMAGE: zitadel
|
||||
NODE_VERSION: '12'
|
||||
GO_VERSION: '^1.14.1'
|
||||
GO_VERSION: '1.14'
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -3,5 +3,5 @@ package authz
|
||||
import "context"
|
||||
|
||||
func NewMockContext(orgID, userID string) context.Context {
|
||||
return context.WithValue(nil, dataKey, CtxData{UserID: userID, OrgID: orgID})
|
||||
return context.WithValue(context.Background(), dataKey, CtxData{UserID: userID, OrgID: orgID})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user