cloudscale-ch / ansible-collection-cloudscale

cloudscale.ch Ansible Collection
https://galaxy.ansible.com/cloudscale_ch/cloud
GNU General Public License v3.0
7 stars 3 forks source link

Fix failing load balancer tests #93

Closed gaudenz closed 1 year ago

gaudenz commented 1 year ago

The load balancer tests verifying that a task referencing an inexistent load balancer fails got broken because of a change in the API response.

This fixes the tests to match part the new API response body. It does not match the whole body to reduce the chance of the test breaking again if the API response slightly changes.

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (6909fc3) 88.35% compared to head (c8646b9) 88.35%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #93 +/- ## ======================================= Coverage 88.35% 88.35% ======================================= Files 14 14 Lines 910 910 Branches 218 218 ======================================= Hits 804 804 Misses 50 50 Partials 56 56 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.