Add pg version to test postgrescluster spec
The postgrescluster spec now requires the Postgres
Version to be set. This fix updates that value in
controller test where it was missing.
@@ -160,6 +160,7 @@ func TestReconcilerHandleDelete(t *testing.T) {
cluster := &v1alpha1.PostgresCluster{}
assert.NilError(t, yaml.Unmarshal([]byte(`{
spec: {
+ postgresVersion: 12,
instances: [
{ replicas: 2 },
],
