Skip to content

Call ApiClientFactory.createApiClient from TestUtils.createApiClient #1181

Open

Description

@yili-db

Describe the bug

TestUtils.createApiClient is doing about the same thing than ApiClientFactory.createApiClient except that its input is ServerConfig serverConfig.
So to avoid duplicate code TestUtils.createApiClient can simply call ApiClientFactory.createApiClient to construct the api client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions