Skip to content

Commit b95dff5

Browse files
committed
validation
1 parent 711693e commit b95dff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controllers/provider/controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var _ = Describe("Deployment Controller", func() {
7272
job.Status.Succeeded = 1
7373
Expect(env.Client().Status().Update(env.Ctx, job)).To(Succeed(), "Status update of init job should succeed")
7474
env.ShouldReconcile(req, "2nd reconcile should not return an error")
75-
deploymentSpec, deploymentStatus = getProvider(env, provider)
75+
_, deploymentStatus = getProvider(env, provider)
7676
Expect(deploymentStatus.Phase).To(Equal(phaseProgressing), "Phase should be progressing")
7777
Expect(isInitialized(deploymentStatus)).To(BeTrue(), "Provider should be initialized")
7878
Expect(isProviderInstalledAndReady(deploymentStatus)).To(BeFalse(), "Provider should not yet be ready")
@@ -92,7 +92,7 @@ var _ = Describe("Deployment Controller", func() {
9292
deploy.Status.AvailableReplicas = 1
9393
Expect(env.Client().Status().Update(env.Ctx, deploy)).To(Succeed(), "Status update of deployment should succeed")
9494
env.ShouldReconcile(req, "3rd reconcile should not return an error")
95-
deploymentSpec, deploymentStatus = getProvider(env, provider)
95+
_, deploymentStatus = getProvider(env, provider)
9696
Expect(deploymentStatus.Phase).To(Equal(phaseReady), "Phase should be ready")
9797
Expect(isInitialized(deploymentStatus)).To(BeTrue(), "Provider should be initialized")
9898
Expect(isProviderInstalledAndReady(deploymentStatus)).To(BeTrue(), "Provider should be ready")

0 commit comments

Comments
 (0)