(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestDataDirectory(t *testing.T) { |
| 39 | cluster := new(v1beta1.PostgresCluster) |
| 40 | cluster.Spec.PostgresVersion = 12 |
| 41 | |
| 42 | assert.Equal(t, DataDirectory(cluster), "/pgdata/pg12") |
| 43 | } |
| 44 | |
| 45 | func TestDataStorage(t *testing.T) { |
| 46 | cluster := new(v1beta1.PostgresCluster) |
nothing calls this directly
no test coverage detected