Skip to content

Commit ece0b11

Browse files
Snip a dependency from the e2e tests
server/origin pulls in the unit suite, not worth it for one constant.
1 parent 0ea6f5d commit ece0b11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/util/client.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919

2020
"github.com/openshift/origin/pkg/client"
2121
configapi "github.com/openshift/origin/pkg/cmd/server/api"
22-
"github.com/openshift/origin/pkg/cmd/server/origin"
2322
cmdutil "github.com/openshift/origin/pkg/cmd/util"
2423
"github.com/openshift/origin/pkg/cmd/util/clientcmd"
2524
"github.com/openshift/origin/pkg/cmd/util/tokencmd"
@@ -98,7 +97,7 @@ func GetScopedClientForUser(adminClient *client.Client, clientConfig restclient.
9897

9998
token := &oauthapi.OAuthAccessToken{
10099
ObjectMeta: kapi.ObjectMeta{Name: fmt.Sprintf("%s-token-plus-some-padding-here-to-make-the-limit-%d", username, rand.Int())},
101-
ClientName: origin.OpenShiftCLIClientID,
100+
ClientName: "openshift-challenging-client",
102101
ExpiresIn: 86400,
103102
Scopes: scopes,
104103
RedirectURI: "https://127.0.0.1:12000/oauth/token/implicit",

0 commit comments

Comments
 (0)