Skip to content
Snippets Groups Projects
Commit e51d9681 authored by Felix Kunde's avatar Felix Kunde
Browse files

remove TestSetStatus for now

parent db28339a
No related branches found
No related tags found
No related merge requests found
...@@ -328,33 +328,3 @@ func TestShouldDeleteSecret(t *testing.T) { ...@@ -328,33 +328,3 @@ func TestShouldDeleteSecret(t *testing.T) {
} }
} }
} }
/*
func TestSetStatus(t *testing.T) {
tests := []struct {
status acidv1.PostgresStatus
outcome bool
}{
{
status: acidv1.PostgresStatus{PostgresClusterStatus: acidv1.ClusterStatusCreating},
outcome: cl.Status.Creating(),
},
{
status: acidv1.PostgresStatus{PostgresClusterStatus: acidv1.ClusterStatusRunning},
outcome: cl.Status.Running(),
},
{
status: acidv1.PostgresStatus{PostgresClusterStatus: acidv1.ClusterStatusInvalid},
outcome: !cl.Status.Success(),
},
}
for _, tt := range tests {
cl.setStatus(tt.status.PostgresClusterStatus)
if tt.outcome {
t.Errorf("Wrong status: %s", cl.Status.String())
}
}
}
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment