runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.84k stars 1.06k forks source link

chore: Regenerates mock files with pegomock v4.1.0 #5090

Closed tkasuz closed 1 week ago

tkasuz commented 1 week ago

what

The current version of pegomock is v4.1.0, but the mock files in use are still generated with v4.0.0. In v4.1.0, certain mock generation variables have been renamed.

rename mockgen variables like _ret1, _result and _params not to conflict with method args by @krrrr38 in https://github.com/petergtz/pegomock/pull/124

why

tests

references

renovate PR is https://github.com/runatlantis/atlantis/pull/4832

X-Guardian commented 1 week ago

Thanks for this @tkasuz. Would you mind also taking a look at CONTRIBUTING.md#mocks and see if it needs updating too. That initial install comment looks out-of-date at least.

tkasuz commented 1 week ago

@X-Guardian Updated some outdated instructions 👍