From 87d0ecdd5f298bbc8d2260f468bd8656b16e6c93 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Mon, 18 Dec 2023 13:40:15 +0300
Subject: [PATCH] fix test names

---
 pkg/spaces/service_test.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/spaces/service_test.go b/pkg/spaces/service_test.go
index 8885076d..30594bce 100644
--- a/pkg/spaces/service_test.go
+++ b/pkg/spaces/service_test.go
@@ -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,
 		},
-- 
GitLab