示例#1
0
        public void Then_The_Url_Is_Correctly_Constructed_Without_RouteIds_And_Levels(
            )
        {
            var actual = new GetActiveStandardsListRequest();

            actual.GetUrl.Should()
            .Be($"api/courses/standards?filter=Active");
        }
示例#2
0
        public void Then_The_Url_Is_Correctly_Constructed_Without_Levels(
            List <Guid> routeIds)
        {
            var actual = new GetActiveStandardsListRequest
            {
                RouteIds = routeIds
            };

            actual.GetUrl.Should()
            .Be($"api/courses/standards?filter=Active&routeIds=" + string.Join("&routeIds=", routeIds));
        }
示例#3
0
        public void Then_The_Url_Is_Correctly_Constructed_Without_RouteIds(
            List <int> levels)
        {
            var actual = new GetActiveStandardsListRequest
            {
                Levels = levels
            };

            actual.GetUrl.Should()
            .Be($"api/courses/standards?filter=Active&levels=" + string.Join("&levels=", levels));
        }