Skip to content

Commit

Permalink
fix integration
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca committed Dec 6, 2024
1 parent c76772f commit 5b9efea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/translation_failures_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestTranslationFailures(t *testing.T) {

return expectedTranslationFailure{
causingObjects: []client.Object{createdSecret},
reasonContains: "invalid CA certificate: missing 'cert' field in data",
reasonContains: `neither "cert" nor "ca.crt" key exist`,
}
},
},
Expand All @@ -80,7 +80,7 @@ func TestTranslationFailures(t *testing.T) {
return expectedTranslationFailure{
// expect events for both: a faulty secret and a plugin referring it
causingObjects: []client.Object{createdSecret, createdPlugin},
reasonContains: "invalid CA certificate: missing 'cert' field in data",
reasonContains: `neither "cert" nor "ca.crt" key exist`,
}
},
},
Expand Down

0 comments on commit 5b9efea

Please sign in to comment.