Skip to content

Commit 18bf441

Browse files
rohanKanojiaclaude
andcommitted
test: Update error message expectation in backup_test.go
Changed test expectation from "Please manually create" to "Please create" to match the updated error message in the source code. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 43f4862 commit 18bf441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/secrets/backup_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ var _ = Describe("HandleRegistryAuthSecret (backup path: operatorConfigNamespace
212212
By("verifying error message is clear and actionable")
213213
Expect(err.Error()).To(ContainSubstring("copyOperatorAuthSecret is set to false"))
214214
Expect(err.Error()).To(ContainSubstring("not found in workspace namespace"))
215-
Expect(err.Error()).To(ContainSubstring("Please manually create"))
215+
Expect(err.Error()).To(ContainSubstring("Please create"))
216216
Expect(err.Error()).To(ContainSubstring("kubernetes.io/dockerconfigjson"))
217217
})
218218

@@ -314,7 +314,7 @@ var _ = Describe("HandleRegistryAuthSecret (backup path: operatorConfigNamespace
314314
By("verifying error message is clear and actionable")
315315
Expect(err.Error()).To(ContainSubstring("copyOperatorAuthSecret is set to false"))
316316
Expect(err.Error()).To(ContainSubstring("not found in workspace namespace"))
317-
Expect(err.Error()).To(ContainSubstring("Please manually create"))
317+
Expect(err.Error()).To(ContainSubstring("Please create"))
318318
Expect(err.Error()).To(ContainSubstring("kubernetes.io/dockerconfigjson"))
319319
})
320320

0 commit comments

Comments
 (0)