Skip to content
Snippets Groups Projects
Commit 87d0ecdd authored by ko_oler's avatar ko_oler
Browse files

fix test names

parent 9ce2fdf2
No related branches found
No related tags found
No related merge requests found
......@@ -21,22 +21,22 @@ func TestIsSpaceAvailable(t *testing.T) {
wantErr bool
}{
{
"Without StateInfo",
"Space has nil StateInfo: available",
&Space{ID: "space", OrgID: "org", Name: "test-space"},
false,
},
{
"StateReady",
"Space state is StateReady: available",
&Space{ID: "space", OrgID: "org", Name: "test-space", StateInfo: &StateInfo{State: StateReady}},
false,
},
{
"StatePreparing",
"Space state is StatePreparing: not available",
&Space{ID: "space", OrgID: "org", Name: "test-space", StateInfo: &StateInfo{State: StatePreparing}},
true,
},
{
"StateMigration",
"Space state is StateMigration: not available",
&Space{ID: "space", OrgID: "org", Name: "test-space", StateInfo: &StateInfo{State: StateMigration}},
true,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment