Beispiel #1
0
        public async Task allow_to_edit_grades_if_the_user_belongs_to_the_teacher_role()
        {
            await fixture.GiveAnApplication();

            foreach (var server in servers)
            {
                var response = await server
                               .CreateRequest(Api.School.EditGrades)
                               .WithIdentity(new Fixture().Teacher())
                               .PutAsync();

                response.StatusCode.Should().Be(StatusCodes.Status200OK);
            }
        }