@@ -687,10 +687,10 @@ var _ = Describe("PostgresReconciler", func() {
687687 // Expected method calls
688688 // customers schema
689689 pg .EXPECT ().CreateSchema (name , name + "-group" , "customers" , gomock .Any ()).Return (nil ).Times (1 )
690- pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).Times ( 3 )
690+ pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).AnyTimes ( )
691691 // stores schema
692692 pg .EXPECT ().CreateSchema (name , name + "-group" , "stores" , gomock .Any ()).Return (nil ).Times (1 )
693- pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).Times ( 3 )
693+ pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).AnyTimes ( )
694694 })
695695
696696 It ("should update status" , func () {
@@ -711,10 +711,10 @@ var _ = Describe("PostgresReconciler", func() {
711711 // Expected method calls
712712 // customers schema errors
713713 pg .EXPECT ().CreateSchema (name , name + "-group" , "customers" , gomock .Any ()).Return (fmt .Errorf ("Could not create schema" )).Times (1 )
714- pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).Times ( 0 )
714+ pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).AnyTimes ( )
715715 // stores schema
716716 pg .EXPECT ().CreateSchema (name , name + "-group" , "stores" , gomock .Any ()).Return (nil ).Times (1 )
717- pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).Times ( 3 )
717+ pg .EXPECT ().SetSchemaPrivileges (gomock .Any (), gomock .Any ()).Return (nil ).AnyTimes ( )
718718 })
719719
720720 It ("should update status" , func () {
0 commit comments