(t *testing.T)
| 29 | ) |
| 30 | |
| 31 | func TestConfigDirectory(t *testing.T) { |
| 32 | cluster := new(v1beta1.PostgresCluster) |
| 33 | cluster.Spec.PostgresVersion = 11 |
| 34 | |
| 35 | assert.Equal(t, ConfigDirectory(cluster), "/pgdata/pg11") |
| 36 | } |
| 37 | |
| 38 | func TestDataDirectory(t *testing.T) { |
| 39 | cluster := new(v1beta1.PostgresCluster) |
nothing calls this directly
no test coverage detected