fix: fix some tests
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 5s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 14m55s
CI Workflow / CI run build and linting (pull_request) Successful in 18m58s
CI Workflow / Code coverage report (pull_request) Successful in 8s
CI Workflow / CI run tests (pull_request) Failing after 21m20s

This commit is contained in:
Marcel_Henselin 2026-03-02 15:10:52 +01:00
parent 5427b54995
commit 996523df38
2 changed files with 6 additions and 2 deletions

View file

@ -140,8 +140,8 @@ func TestAccInstance(t *testing.T) {
updSizeData := exData
updSizeData.Size = 25
updBackupSched := exData
updBackupSched.BackupSchedule = "30 3 5 * *"
updBackupSched := updSizeData
updBackupSched.BackupSchedule = "30 3 * * *"
/*
{

View file

@ -127,6 +127,10 @@ func TestMshTest(t *testing.T) {
},
)
if _, ok := os.LookupEnv("TF_ACC_SERVICE_ACCOUNT_FILE"); !ok {
t.Skipf("TF_ACC_SERVICE_ACCOUNT_FILE is missing")
}
test.Test(
t, test.TestCase{
IsUnitTest: true,