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

🌱 Added unit tests for rpc #3203

Merged
merged 1 commit into from
Jun 26, 2023
Merged

🌱 Added unit tests for rpc #3203

merged 1 commit into from
Jun 26, 2023

Commits on Jun 26, 2023

  1. 🌱 Added unit tests for rpc

    - Add a mockTokenAccessor and TokenOverRPC wrapper for testing
    - Add tests for TokenOverRPC.Next and TokenOverRPC.Release
    
    [clients/githubrepo/roundtripper/tokens/rpc_test.go]
    - Add a mockTokenAccessor for testing
    - Add a TokenOverRPC wrapper
    - Add a Next method to TokenOverRPC
    - Add a Release method to TokenOverRPC
    - Add a test for TokenOverRPC.Next
    - Add a test for TokenOverRPC.Release
    
    Signed-off-by: naveensrinivasan <[email protected]>
    naveensrinivasan committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    6449e11 View commit details
    Browse the repository at this point in the history