bugfix(serverbackup): state drift in volume-id because of changed order (#979)

* fix: state drift in backup-properties.volume-id because of changed order in API response

---------

Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
Co-authored-by: Marcel Jacek <Marcel.Jacek@stackit.cloud>
This commit is contained in:
Mauritz Uphoff 2025-09-03 10:58:01 +02:00 committed by GitHub
parent 7c1920f55e
commit 822b9fc6b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 8 deletions

View file

@ -88,7 +88,7 @@ func TestAccServerBackupScheduleMinResource(t *testing.T) {
},
// Creation
{
Config: resourceMinConfig,
Config: testutil.ServerBackupProviderConfig() + "\n" + resourceMinConfig,
ConfigVariables: testConfigVarsMin,
Check: resource.ComposeAggregateTestCheckFunc(
// Backup schedule data
@ -180,7 +180,7 @@ func TestAccServerBackupScheduleMaxResource(t *testing.T) {
},
// Creation
{
Config: resourceMaxConfig,
Config: testutil.ServerBackupProviderConfig() + "\n" + resourceMaxConfig,
ConfigVariables: testConfigVarsMax,
Check: resource.ComposeAggregateTestCheckFunc(
// Backup schedule data