Skip to content

Fix unreachable host test - #163

Merged
cameron1729 merged 1 commit into
MOODLE_404_STABLEfrom
fix-unit-tests
Jun 18, 2026
Merged

Fix unreachable host test#163
cameron1729 merged 1 commit into
MOODLE_404_STABLEfrom
fix-unit-tests

Conversation

@cameron1729

@cameron1729 cameron1729 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Expect a ConnectException for connection failures instead of 503s in esrequest_test. Also mock the guzzle connection so the test doesn't depend on real network.

Expect a ConnectException for connection failures instead of 503s in
esrequest_test. Also mock the guzzle connection so the test doesn't
depend on real network.
@cameron1729
cameron1729 merged commit 2187084 into MOODLE_404_STABLE Jun 18, 2026
34 checks passed
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.

1 participant