Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update asserted TestAccCloudflareRecord_LOC string #712

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

jacobbednarz
Copy link
Member

@jacobbednarz jacobbednarz commented Jun 15, 2020

This value in the API response has changed so we need to update our tests.

Fixes the following:

------- Stdout: -------
=== RUN   TestAccCloudflareRecord_LOC
=== PAUSE TestAccCloudflareRecord_LOC
=== CONT  TestAccCloudflareRecord_LOC
--- FAIL: TestAccCloudflareRecord_LOC (4.26s)
testing.go:684: Step 0 error: Check failed: Check 2/4 error: cloudflare_record.foobar: Attribute 'value' expected "37 46 46.000 N 122 23 35.000 W 0.00m 100.00m 0.00m 0.00m", got "37 46 46 N 122 23 35 W 0 100 0 0"
FAIL

This value in the API response has changed so we need to update our tests.

Fixes the following:

````
------- Stdout: -------
=== RUN   TestAccCloudflareRecord_LOC
=== PAUSE TestAccCloudflareRecord_LOC
=== CONT  TestAccCloudflareRecord_LOC
--- FAIL: TestAccCloudflareRecord_LOC (4.26s)
testing.go:684: Step 0 error: Check failed: Check 2/4 error: cloudflare_record.foobar: Attribute 'value' expected "37 46 46.000 N 122 23 35.000 W 0.00m 100.00m 0.00m 0.00m", got "37 46 46 N 122 23 35 W 0 100 0 0"
FAIL
```
@ghost ghost added the size/XS label Jun 15, 2020
@jacobbednarz jacobbednarz merged commit b1cdbb0 into master Jun 15, 2020
@jacobbednarz jacobbednarz deleted the fix-dns-loc-assertion branch June 15, 2020 23:53
boekkooi-lengoo pushed a commit to boekkooi-lengoo/terraform-provider-cloudflare that referenced this pull request Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant