mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 01:17:23 +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
|
REGISTRY: docker.pkg.github.com
|
||||||
IMAGE: zitadel
|
IMAGE: zitadel
|
||||||
NODE_VERSION: '12'
|
NODE_VERSION: '12'
|
||||||
GO_VERSION: '^1.14.1'
|
GO_VERSION: '1.14'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@ package authz
|
|||||||
import "context"
|
import "context"
|
||||||
|
|
||||||
func NewMockContext(orgID, userID string) context.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