fix(tests): go version of tests (#618)

This commit is contained in:
Livio Amstutz 2020-08-20 22:09:37 +02:00 committed by GitHub
parent edfd9d2038
commit 578453b024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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})
}