Beispiel #1
0
        public async Task Test_Get_OData()
        {
            var client   = new TestLookupClientProvider().Client;
            var response = await client.GetAsync("api/District?$select=name,id");

            response.EnsureSuccessStatusCode();

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }
Beispiel #2
0
        public async Task Test_Get_All()
        {
            var client   = new TestLookupClientProvider().Client;
            var response = await client.GetAsync("api/City");

            response.EnsureSuccessStatusCode();

            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
        }