From 7123eea6dc720b8f43ec792c9fd77795d7ecbec4 Mon Sep 17 00:00:00 2001 From: Michael Desa Date: Fri, 10 Nov 2017 11:28:19 -0500 Subject: [PATCH] Change UserKey to UserContextKey --- server/organizations_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/organizations_test.go b/server/organizations_test.go index 6869eca82..73abf9871 100644 --- a/server/organizations_test.go +++ b/server/organizations_test.go @@ -510,7 +510,7 @@ func TestService_NewOrganization(t *testing.T) { } ctx := tt.args.r.Context() - ctx = context.WithValue(ctx, UserKey, tt.args.user) + ctx = context.WithValue(ctx, UserContextKey, tt.args.user) tt.args.r = tt.args.r.WithContext(ctx) buf, _ := json.Marshal(tt.args.org)