@@ -41,7 +41,7 @@ func TestVolumesCreateWithoutInitialOwner(t *testing.T) {
4141 },
4242 {
4343 Method : http .MethodGet ,
44- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
44+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
4545 Response : catalog.VolumeInfo {
4646 Name : "testName" ,
4747 VolumeType : catalog .VolumeType ("testVolumeType" ),
@@ -97,7 +97,7 @@ func TestVolumesCreateWithInitialOwner(t *testing.T) {
9797 },
9898 {
9999 Method : http .MethodGet ,
100- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
100+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
101101 Response : catalog.VolumeInfo {
102102 Name : "testName" ,
103103 VolumeType : catalog .VolumeType ("testVolumeType" ),
@@ -110,7 +110,7 @@ func TestVolumesCreateWithInitialOwner(t *testing.T) {
110110 },
111111 {
112112 Method : http .MethodPatch ,
113- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" ,
113+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName" ,
114114 ExpectedRequest : catalog.UpdateVolumeRequestContent {
115115 Name : "testName" ,
116116 Comment : "This is a test comment." ,
@@ -201,7 +201,7 @@ func TestVolumesCreateWithInitialOwner_Error(t *testing.T) {
201201 },
202202 {
203203 Method : http .MethodGet ,
204- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
204+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
205205 Response : catalog.VolumeInfo {
206206 Name : "testName" ,
207207 VolumeType : catalog .VolumeType ("testVolumeType" ),
@@ -214,7 +214,7 @@ func TestVolumesCreateWithInitialOwner_Error(t *testing.T) {
214214 },
215215 {
216216 Method : http .MethodPatch ,
217- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" ,
217+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName" ,
218218 Response : apierr.APIErrorBody {
219219 ErrorCode : "SERVER_ERROR" ,
220220 Message : "Something unexpected happened" ,
@@ -241,7 +241,7 @@ func TestVolumesRead(t *testing.T) {
241241 Fixtures : []qa.HTTPFixture {
242242 {
243243 Method : http .MethodGet ,
244- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
244+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
245245 Response : catalog.VolumeInfo {
246246 Name : "testName" ,
247247 VolumeType : catalog .VolumeType ("testVolumeType" ),
@@ -276,7 +276,7 @@ func TestResourceVolumeRead_Error(t *testing.T) {
276276 Fixtures : []qa.HTTPFixture {
277277 {
278278 Method : "GET" ,
279- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
279+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
280280 Response : apierr.APIErrorBody {
281281 ErrorCode : "INVALID_REQUEST" ,
282282 Message : "Internal error happened" ,
@@ -297,7 +297,7 @@ func TestVolumesUpdate(t *testing.T) {
297297 Fixtures : []qa.HTTPFixture {
298298 {
299299 Method : http .MethodGet ,
300- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
300+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
301301 Response : catalog.VolumeInfo {
302302 Name : "testNameNew" ,
303303 VolumeType : catalog .VolumeType ("testVolumeType" ),
@@ -310,7 +310,7 @@ func TestVolumesUpdate(t *testing.T) {
310310 },
311311 {
312312 Method : http .MethodPatch ,
313- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" ,
313+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName" ,
314314 ExpectedRequest : catalog.UpdateVolumeRequestContent {
315315 Name : "testNameNew" ,
316316 Comment : "This is a new test comment." ,
@@ -352,7 +352,7 @@ func TestVolumeUpdate_Error(t *testing.T) {
352352 Fixtures : []qa.HTTPFixture {
353353 {
354354 Method : http .MethodPatch ,
355- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" ,
355+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName" ,
356356 ExpectedRequest : catalog.UpdateVolumeRequestContent {
357357 Name : "testNameNew" ,
358358 Comment : "This is a new test comment." ,
@@ -385,7 +385,7 @@ func TestVolumeDelete(t *testing.T) {
385385 Fixtures : []qa.HTTPFixture {
386386 {
387387 Method : http .MethodDelete ,
388- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
388+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
389389 },
390390 },
391391 Resource : ResourceVolume (),
@@ -401,7 +401,7 @@ func TestVolumeDelete_Error(t *testing.T) {
401401 Fixtures : []qa.HTTPFixture {
402402 {
403403 Method : http .MethodDelete ,
404- Resource : "/api/2.1/unity-catalog/volumes/" + " testCatalogName.testSchemaName.testName" + " ?" ,
404+ Resource : "/api/2.1/unity-catalog/volumes/testCatalogName.testSchemaName.testName?" ,
405405 Response : apierr.APIErrorBody {
406406 ErrorCode : "INVALID_STATE" ,
407407 Message : "Something went wrong" ,
0 commit comments