Skip to content

Commit

Permalink
fix(object): remove skip tests (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laure-di authored Sep 17, 2024
1 parent 8fb9c93 commit 86ae5dc
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions internal/services/object/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ const (
)

func TestAccObject_Basic(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-basic")
Expand Down Expand Up @@ -104,9 +101,6 @@ func TestAccObject_Basic(t *testing.T) {
}

func TestAccObject_Hash(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-hash")
Expand Down Expand Up @@ -165,9 +159,6 @@ func TestAccObject_Hash(t *testing.T) {
}

func TestAccObject_Move(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-move")
Expand Down Expand Up @@ -222,9 +213,6 @@ func TestAccObject_Move(t *testing.T) {
}

func TestAccObject_StorageClass(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-storage-class")
Expand Down Expand Up @@ -287,9 +275,6 @@ func TestAccObject_StorageClass(t *testing.T) {
}

func TestAccObject_Metadata(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-metadata")
Expand Down Expand Up @@ -358,9 +343,6 @@ func TestAccObject_Metadata(t *testing.T) {
}

func TestAccObject_Tags(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-tags")
Expand Down Expand Up @@ -423,9 +405,6 @@ func TestAccObject_Tags(t *testing.T) {
}

func TestAccObject_Visibility(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-visibility")
Expand Down Expand Up @@ -482,9 +461,6 @@ func TestAccObject_Visibility(t *testing.T) {
}

func TestAccObject_State(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-visibility")
Expand Down Expand Up @@ -685,9 +661,6 @@ func TestAccObject_ByContentBase64(t *testing.T) {
}

func TestAccObject_WithBucketName(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-basic")
Expand Down

0 comments on commit 86ae5dc

Please sign in to comment.