Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Dec 28, 2020
1 parent 495ea29 commit ca323bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/identity-provider/identity_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var (
SyncKeycloakDeploymentToCluster,
syncKeycloakResources,
syncOpenShiftIdentityProvider,
SyncGitHubOAuth,
SyncGitHubIdentityProvividerFederation,
}
)

Expand Down
8 changes: 4 additions & 4 deletions pkg/deploy/identity-provider/identity_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestSyncGitHubOAuth(t *testing.T) {
ResourceVersion: "1",
},
Status: orgv1.CheClusterStatus{
GitHubOAuthProvisioned: true,
GitHubIdentityProviderFederationProvisioned: true,
},
},
initObjects: []runtime.Object{
Expand Down Expand Up @@ -118,7 +118,7 @@ func TestSyncGitHubOAuth(t *testing.T) {
Namespace: "eclipse-che",
},
Status: orgv1.CheClusterStatus{
GitHubOAuthProvisioned: true,
GitHubIdentityProviderFederationProvisioned: true,
},
},
expectedCR: &orgv1.CheCluster{
Expand All @@ -127,7 +127,7 @@ func TestSyncGitHubOAuth(t *testing.T) {
ResourceVersion: "1",
},
Status: orgv1.CheClusterStatus{
GitHubOAuthProvisioned: false,
GitHubIdentityProviderFederationProvisioned: false,
},
},
initObjects: []runtime.Object{},
Expand All @@ -149,7 +149,7 @@ func TestSyncGitHubOAuth(t *testing.T) {
},
}

_, err := SyncGitHubOAuth(deployContext)
_, err := SyncGitHubIdentityProvividerFederation(deployContext)
if err != nil {
t.Fatalf("Error mounting secret: %v", err)
}
Expand Down

0 comments on commit ca323bd

Please sign in to comment.