@@ -2,6 +2,7 @@ package workspacegroups_test
22
33import (
44 "encoding/json"
5+ "fmt"
56 "io"
67 "net/http"
78 "net/http/httptest"
@@ -213,6 +214,8 @@ func TestCRUDWorkspaceGroup(t *testing.T) {
213214 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "admin_password" , config .TestInitialAdminPassword ),
214215 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "firewall_ranges.#" , "1" ),
215216 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "firewall_ranges.0" , config .TestInitialFirewallRange ),
217+ resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "update_window.day" , fmt .Sprint (config .TestInitialUpdateWindowDay )),
218+ resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "update_window.hour" , fmt .Sprint (config .TestInitialUpdateWindowHour )),
216219 ),
217220 },
218221 {
@@ -252,6 +255,8 @@ func TestWorkspaceGroupResourceIntegration(t *testing.T) {
252255 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "admin_password" , config .TestInitialAdminPassword ),
253256 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "firewall_ranges.#" , "1" ),
254257 resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "firewall_ranges.0" , config .TestInitialFirewallRange ),
258+ resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "update_window" , fmt .Sprint (config .TestInitialUpdateWindowDay )),
259+ resource .TestCheckResourceAttr ("singlestoredb_workspace_group.this" , "update_window.hour" , fmt .Sprint (config .TestInitialUpdateWindowHour )),
255260 ),
256261 },
257262 {
0 commit comments