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

Add child_api_host to AccountAdmin tests to fix failing tests #250

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

jeffreyparker
Copy link
Contributor

Description

I don't know why this suddenly started failing, but during the AccountAdmin tests, it looks like AccountAdmin init is trying to really reach out to the API to fetch the child accounts. This pre-populates child_api_host so it doesn't make a request.

I don't know that this is necessarily the correct fix (e.g. vs ensuring that HTTP call is mocked), but it is a fix.

Motivation and Context

Fix the automated tests

How Has This Been Tested?

Tests now pass

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AaronAtDuo AaronAtDuo merged commit d4c011a into master Feb 7, 2024
5 checks passed
@AaronAtDuo AaronAtDuo deleted the fix_failing_tests branch February 7, 2024 19:37
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.

2 participants