Skip to content

Replace ModernHttpRequesterMock with MockWebServer #2649

@shubham1g5

Description

@shubham1g5

Currently we use ModernHttpRequesterMock in unit tests to test out the http requests. We should replace this with OkHttp MockWebServer in order to make tests more dependable by relying on an universal mock library rather than something that we setup in our tests. This will allow us to test network requests directly with okHTTP layer which is the ultimate source of truth for us for network requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions