Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mockery Warning #1111

Closed
winder opened this issue Jul 13, 2022 · 1 comment
Closed

Fix Mockery Warning #1111

winder opened this issue Jul 13, 2022 · 1 comment
Assignees

Comments

@winder
Copy link
Contributor

winder commented Jul 13, 2022

Subject of the issue

Address mockery warning, we need to install the binary directly instead of using go intall:

~$ make test
go install github.com/vektra/mockery/v2@v2.12.3
cd idb && mockery --name=IndexerDb
13 Jul 22 08:13 EDT INF Starting mockery dry-run=false version=v2.12.3
13 Jul 22 08:13 EDT WRN !!! DEPRECATION NOTICE !!! dry-run=false version=v2.12.3
13 Jul 22 08:13 EDT WRN Using go install to download mockery will likely break after June 1, 2022. Please view PR #456 for details. dry-run=false version=v2.12.3
13 Jul 22 08:13 EDT INF Walking dry-run=false version=v2.12.3
13 Jul 22 08:13 EDT INF Generating mock dry-run=false interface=IndexerDb qualified-name=github.com/algorand/indexer/idb version=v2.12.3
@winder
Copy link
Contributor Author

winder commented Jul 14, 2022

It looks like we can update to a slightly newer version, and the warning is removed:

vektra/mockery#456 (comment)

@winder winder self-assigned this Sep 9, 2022
@winder winder closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant