You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lacking a test related to this problem. I see that (like the core logic of the controller) it's somewhat difficult to unit test this code as it stands today. In the controller though we do have the recording tests to fall back on.
Wondering here if we should define an interface that allows us to mock certain errors from Azure for aid in testing these cases? We actually already have one in extensions.ImporterFunc ... possibly we could leverage that with some test helpers to make it ergonomic to mock certain error responses from Azure and ensure we handle them?
Describe the improvement
Adding unit tests will insulate us against future maintenance issues.
The text was updated successfully, but these errors were encountered:
Describe the current behavior
The code to import an Azure resource currently lacks in testing. We should fix that.
On #3212, #matthchr wrote:
Describe the improvement
Adding unit tests will insulate us against future maintenance issues.
The text was updated successfully, but these errors were encountered: