Skip to content

Commit 4dda9fb

Browse files
authored
fix: update expiration date (#2866)
1 parent 6efe006 commit 4dda9fb

File tree

3 files changed

+903
-2422
lines changed

3 files changed

+903
-2422
lines changed

internal/services/mongodb/snapshot_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestAccMongoDBSnapshot_Basic(t *testing.T) {
3535
resource "scaleway_mongodb_snapshot" "main" {
3636
instance_id = scaleway_mongodb_instance.main.id
3737
name = "test-snapshot"
38-
expires_at = "2024-12-31T23:59:59Z"
38+
expires_at = "2025-12-31T23:59:59Z"
3939
}
4040
`,
4141
Check: resource.ComposeTestCheckFunc(
@@ -69,11 +69,11 @@ func TestAccMongoDBSnapshot_Update(t *testing.T) {
6969
resource "scaleway_mongodb_snapshot" "main" {
7070
instance_id = scaleway_mongodb_instance.main.id
7171
name = "test-snapshot"
72-
expires_at = "2024-12-31T23:59:59Z"
72+
expires_at = "2025-12-31T23:59:59Z"
7373
}
7474
`,
7575
Check: resource.ComposeTestCheckFunc(
76-
resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2024-12-31T23:59:59Z"),
76+
resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2025-12-31T23:59:59Z"),
7777
),
7878
},
7979
{

0 commit comments

Comments
 (0)