diff --git a/tests/other_test.go b/tests/other_test.go index 9b6801b..01374bf 100644 --- a/tests/other_test.go +++ b/tests/other_test.go @@ -20,16 +20,16 @@ func TestRunReservedIpExample(t *testing.T) { output, err := options.RunTestConsistency() assert.Nil(t, err, "This should not have errored") assert.NotNil(t, output, "Expected some output") - // checking vpe_ips to exist + // checking reserved_ips to exist outputs := terraform.OutputAll(options.Testing, options.TerraformOptions) - expectedOutputs := []string{"vpe_ips"} + expectedOutputs := []string{"reserved_ips"} _, outputErr := testhelper.ValidateTerraformOutputs(outputs, expectedOutputs...) assert.NoErrorf(t, outputErr, "Some outputs not found or nil") - // checking vpe_ips to contain a set on not empty slices as expected - mapToValidate, ok := outputs["vpe_ips"].(map[string]interface{}) + // checking reserved_ips to contain a set on not empty slices as expected + mapToValidate, ok := outputs["reserved_ips"].(map[string]interface{}) var outputErrMap error if !ok { - outputErrMap = fmt.Errorf("Output: Failed to read value of key %s\n", "vpe_ips") + outputErrMap = fmt.Errorf("Output: Failed to read value of key %s\n", "reserved_ips") } else { _, outputErrMap = ValidateOutputMapOfSlicesContent(mapToValidate) }