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

ARES country "upgrade" #244

Merged
merged 4 commits into from
Oct 16, 2023
Merged

ARES country "upgrade" #244

merged 4 commits into from
Oct 16, 2023

Conversation

spaze
Copy link
Owner

@spaze spaze commented Oct 16, 2023

I don't understand why but for this 'res' source, the country code is returned as "1", yes a string, instead of "cz", so let's deal with that. This wasn't happening when I've build the support in #225.

It could be easily removed in the future, and there's a test for it (the one for the company with id 00256081), so if it is removed and it shouldn't be, I should know about it rather soon.

Fix #242

The test querying the service is marked as "skipped" because it uses the Internet to actually query the live service and I don't want to query it when I'm running my tests in dev env for example. But I'd like to run the tests someday, so I've introduced a way to run all skipped tests, just define an environment variable TEST_CASE_RUNNER_INCLUDE_SKIPPED=1 and run the test case again. Will also do it automatically with GitHub Actions.

spaze added 4 commits October 16, 2023 02:05
… returned as "1", yes a string, instead of "cz", so let's deal with that

It could be easily removed in the future, and there's a test for it (the one for the company with id 00256081), so if it is removed and it shouldn't be, I should know about it rather soon.

Fix #242
Because I don't remember and am curious.
Because TestCaseRunner::skip() can skip skipping if an environment variable is set.
@spaze spaze self-assigned this Oct 16, 2023
@spaze spaze merged commit 8b77e23 into main Oct 16, 2023
58 checks passed
@spaze spaze deleted the spaze/ares-country branch October 16, 2023 00:19
spaze added a commit that referenced this pull request Nov 24, 2023
… code is returned as "1", yes a string, instead of "cz", so let's deal with that"

This reverts commit 8524ef3 from #244 which was a fix for #242
spaze added a commit that referenced this pull request Nov 24, 2023
… code is returned as "1", yes a string, instead of "cz", so let's deal with that" (#250)

This reverts commit 8524ef3 from #244 which was a fix for #242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ARES test fails
1 participant