@@ -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 = "2025-12-31T23 :59:59Z"
38+ expires_at = "2026-06-30T23 :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 = "2025-12-31T23 :59:59Z"
72+ expires_at = "2026-06-30T23 :59:59Z"
7373 }
7474 ` ,
7575 Check : resource .ComposeTestCheckFunc (
76- resource .TestCheckResourceAttr ("scaleway_mongodb_snapshot.main" , "expires_at" , "2025-12-31T23 :59:59Z" ),
76+ resource .TestCheckResourceAttr ("scaleway_mongodb_snapshot.main" , "expires_at" , "2026-06-30T23 :59:59Z" ),
7777 ),
7878 },
7979 {
@@ -90,12 +90,12 @@ func TestAccMongoDBSnapshot_Update(t *testing.T) {
9090 resource "scaleway_mongodb_snapshot" "main" {
9191 instance_id = scaleway_mongodb_instance.main.id
9292 name = "updated-snapshot"
93- expires_at = "2025-09-20T23 :59:59Z"
93+ expires_at = "2026-06-30T23 :59:59Z"
9494 }
9595 ` ,
9696 Check : resource .ComposeTestCheckFunc (
9797 resource .TestCheckResourceAttr ("scaleway_mongodb_snapshot.main" , "name" , "updated-snapshot" ),
98- resource .TestCheckResourceAttr ("scaleway_mongodb_snapshot.main" , "expires_at" , "2025-09-20T23 :59:59Z" ),
98+ resource .TestCheckResourceAttr ("scaleway_mongodb_snapshot.main" , "expires_at" , "2026-06-30T23 :59:59Z" ),
9999 ),
100100 },
101101 },
0 commit comments