Skip to content

Commit 81f0be3

Browse files
committed
feat: wip
1 parent 9b039dc commit 81f0be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/postgresql/postgresqluserrole_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var _ = Describe("PostgresqlUserRole tests", func() {
4242
// Check that content is correct
4343
causes := stErr.Status().Details.Causes
4444

45-
Expect(causes).To(HaveLen(1))
45+
Expect(causes).To(HaveLen(2))
4646

4747
// Search all fields
4848
fields := map[string]bool{
@@ -2808,7 +2808,7 @@ var _ = Describe("PostgresqlUserRole tests", func() {
28082808
}
28092809

28102810
// Check if sec have been updated
2811-
if !strings.Contains(string(sec2.Data["POSTGRES_URL_ARGS"]), "fake=fake&fake2=fake2") {
2811+
if !strings.Contains(string(sec2.Data["POSTGRES_URL_ARGS"]), "fake2=fake2&fake=fake") {
28122812
return errors.New("Secret not updated")
28132813
}
28142814

0 commit comments

Comments
 (0)