@@ -32,7 +32,7 @@ func TestAccServer_Basic(t *testing.T) {
3232 Check : resource .ComposeTestCheckFunc (
3333 isServerPresent (tt , "scaleway_apple_silicon_server.main" ),
3434 resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "name" , "test-m1" ),
35- resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "type" , "M1 -M" ),
35+ resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "type" , "M2 -M" ),
3636 // Computed
3737 resource .TestCheckResourceAttrSet ("scaleway_apple_silicon_server.main" , "ip" ),
3838 resource .TestCheckResourceAttrSet ("scaleway_apple_silicon_server.main" , "vnc_url" ),
@@ -45,7 +45,7 @@ func TestAccServer_Basic(t *testing.T) {
4545}
4646
4747func TestAccServer_EnableVPC (t * testing.T ) {
48- t .Skip ("Skipping AppleSilicon VPC not available" )
48+ // t.Skip("Skipping AppleSilicon VPC not available")
4949 tt := acctest .NewTestTools (t )
5050 defer tt .Cleanup ()
5151 resource .ParallelTest (t , resource.TestCase {
@@ -64,7 +64,7 @@ func TestAccServer_EnableVPC(t *testing.T) {
6464 Check : resource .ComposeTestCheckFunc (
6565 isServerPresent (tt , "scaleway_apple_silicon_server.main" ),
6666 resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "name" , "test-m1" ),
67- resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "type" , "M1 -M" ),
67+ resource .TestCheckResourceAttr ("scaleway_apple_silicon_server.main" , "type" , "M2 -M" ),
6868 // Computed
6969 resource .TestCheckResourceAttrSet ("scaleway_apple_silicon_server.main" , "ip" ),
7070 resource .TestCheckResourceAttrSet ("scaleway_apple_silicon_server.main" , "vnc_url" ),
@@ -144,7 +144,7 @@ func isServerDestroyed(tt *acctest.TestTools) resource.TestCheckFunc {
144144 }
145145
146146 // Unexpected api error we return it
147- if ! httperrors .Is404 (err ) {
147+ if ! httperrors .Is403 (err ) {
148148 return err
149149 }
150150 }
0 commit comments