Skip to content

Commit

Permalink
moving verify expects
Browse files Browse the repository at this point in the history
  • Loading branch information
aganesh-suse committed Apr 5, 2024
1 parent 77769a8 commit a69c357
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/testcase/secretsencrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ func verifyStatusOutput(action, stdout string) {
Expect(stdout).To(ContainSubstring("Current Rotation Stage: prepare"))
case "rotate":
Expect(stdout).To(ContainSubstring("Current Rotation Stage: rotate"))
case "reencrypt":
Expect(stdout).To(ContainSubstring("Current Rotation Stage: reencrypt_finished"))
case "rotate-keys":
default:
Expect(stdout).To(ContainSubstring("Current Rotation Stage: reencrypt_finished"))
}
}
Expand Down

0 comments on commit a69c357

Please sign in to comment.