<#6243 use mockery generate mock in clusterresourc...
# flyte-github
c
#6243 use mockery generate mock in clusterresource pkg Pull request opened by popojk Tracking issue Related to #149 Why are the changes needed? FlyteAdmin currently relies on manually crafted mocks, which are cumbersome to maintain and extend for new interfaces. Switching to Mockery v2 generated mocks is a more efficient approach, eliminating repetitive boilerplate code and streamlining the development process. What changes were proposed in this pull request? This PR updates the mocks in flyteadmin/pkg/clusterresource to use Mockery v2 generated mocks and includes modifications to the related test cases to ensure compatibility. Check all the applicable boxes • All new and existing tests passed. • All commits are signed-off. Summary by Bito This PR updates the clusterresource package by migrating from manual mocks to mockery v2 generated mocks. The implementation includes regenerating mocks with mockery v2.40.3 and updating test cases to use the new EXPECT() syntax, enhancing the maintainability of the testing infrastructure. Unit tests added: False Estimated effort to review (1-5, lower is better): 2 flyteorg/flyte