public async Task Should_be_Able_To_Get_Version_By_default_Client() { var client = new MeilisearchClient("http://localhost:7700", "masterKey"); var meilisearchversion = await client.GetVersion(); meilisearchversion.Version.Should().NotBeNullOrEmpty(); }
public async Task Should_be_Able_To_Get_Version() { var _httpClient = ClientFactory.Instance.CreateClient <MeilisearchClient>(); var client = new MeilisearchClient(_httpClient); var meilisearchversion = await client.GetVersion(); meilisearchversion.Version.Should().NotBeNullOrEmpty(); }
public async Task GetVersionWithCustomClient() { var httpClient = ClientFactory.Instance.CreateClient <MeilisearchClient>(); var client = new MeilisearchClient(httpClient); var meilisearchversion = await client.GetVersion(); meilisearchversion.Version.Should().NotBeNullOrEmpty(); }