Skip to content

Add child_api_host to AccountAdmin tests to fix failing tests#250

Merged
AaronAtDuo merged 1 commit intomasterfrom
fix_failing_tests
Feb 7, 2024
Merged

Add child_api_host to AccountAdmin tests to fix failing tests#250
AaronAtDuo merged 1 commit intomasterfrom
fix_failing_tests

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
@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