From 714ac4546a1378fec6fbec94096c6ec315214081 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 2 May 2018 22:20:54 +0200 Subject: remove Object.MoveTo It's trivially replicable by clients, and has an ugly API that I don't want to commit on at this point. --- tests/object_test.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests') diff --git a/tests/object_test.go b/tests/object_test.go index 251db9f..c7e710f 100644 --- a/tests/object_test.go +++ b/tests/object_test.go @@ -199,13 +199,6 @@ func TestObjectCopyMove(t *testing.T) { expectObjectExistence(t, obj1, true) expectObjectExistence(t, obj2, true) expectObjectContent(t, obj2, objectExampleContent) - - obj3 := c.Object("location3") - expectSuccess(t, obj1.MoveTo(obj3, nil, nil)) - expectObjectExistence(t, obj1, false) - expectObjectExistence(t, obj2, true) - expectObjectExistence(t, obj3, true) - expectObjectContent(t, obj3, objectExampleContent) }) } -- cgit v1.2.3