From 9ec0b6cd22e2fecd49006eee306995df865c91d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
Date: Fri, 15 Dec 2023 16:18:20 -0500
Subject: [PATCH] tests: Update for security.guestapi
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
---
 internal/instance/resource_instance_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/internal/instance/resource_instance_test.go b/internal/instance/resource_instance_test.go
index 991470f..a9299a1 100644
--- a/internal/instance/resource_instance_test.go
+++ b/internal/instance/resource_instance_test.go
@@ -126,7 +126,7 @@ func TestAccInstance_virtualMachineNoDevLxd(t *testing.T) {
 					resource.TestCheckResourceAttr("lxd_instance.instance1", "name", instanceName),
 					resource.TestCheckResourceAttr("lxd_instance.instance1", "type", "virtual-machine"),
 					resource.TestCheckResourceAttr("lxd_instance.instance1", "status", "Running"),
-					resource.TestCheckResourceAttr("lxd_instance.instance1", "config.security.devlxd", "false"),
+					resource.TestCheckResourceAttr("lxd_instance.instance1", "config.security.guestapi", "false"),
 				),
 			},
 		},
@@ -804,7 +804,7 @@ resource "lxd_instance" "instance1" {
   config = {
     # Alpine images do not support secureboot.
     "security.secureboot" = false
-    "security.devlxd"     = false
+    "security.guestapi"   = false
   }
 }
 	`, name, acctest.TestImage)