Skip to content

Commit

Permalink
chore: Regenerates mock files with pegomock v4.1.0 (#5090)
Browse files Browse the repository at this point in the history
Signed-off-by: tkasuz <[email protected]>
  • Loading branch information
tkasuz authored Nov 16, 2024
1 parent fca4be1 commit 5e0f854
Show file tree
Hide file tree
Showing 63 changed files with 4,320 additions and 3,553 deletions.
8 changes: 3 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ We use [pegomock](https://github.com/petergtz/pegomock) for mocking. If you're
modifying any interfaces that are mocked, you'll need to regen the mocks for that
interface.
Install using `go install github.com/petergtz/pegomock/pegomock`
Install using `go install github.com/petergtz/pegomock/v4/pegomock@latest`
If you see errors like:
```
Expand All @@ -174,10 +174,8 @@ To regen the mock, run `go generate` on that file, e.g.
go generate server/events/project_command_builder.go
```
If you get an error about `pegomock` not being available, install it:
```sh
go get github.com/petergtz/pegomock/...
```
Alternatively, you can run `make go-generate` to execute `go generate` across all packages
# Backporting Fixes
Atlantis now uses a [cherry-pick-bot](https://github.com/googleapis/repo-automation-bots/tree/main/packages/cherry-pick-bot) from Google. The bot assists in maintaining changes across releases branches by easily cherry-picking changes via pull requests.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 24 additions & 20 deletions server/controllers/events/mocks/mock_github_request_validator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 21 additions & 17 deletions server/controllers/web_templates/mocks/mock_template_writer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions server/core/locking/mocks/mock_apply_lock_checker.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e0f854

Please sign in to comment.