Example #1
0
        public async Task GetPreQualificationForUnderOperationsStageIndexAsyncTest()
        {
            // arranges
            var requestModel = new PreQualificationSearchCriteriaModel()
            {
            };
            var queryString = requestModel.ToDictionary().ToQueryString();
            // act
            var response = await _client.GetAsync($"/Qualification/GetPreQualificationForUnderOperationsStageIndexAsync?" + queryString);

            // Assert
            Assert.Equal(HttpStatusCode.OK, response.StatusCode);
            Assert.NotNull(response);
        }
Example #2
0
        public async Task IndexPagingForSupplierProjectTest()
        {
            // arranges
            var requestModel = new PreQualificationSearchCriteriaModel()
            {
            };
            var queryString = requestModel.ToDictionary().ToQueryString();

            // act
            var response = await _client.GetAsync($"/Qualification/IndexPagingForSupplierProject?" + queryString);

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