Beispiel #1
0
        public async Task ValidPutTherapyMainReturnsNoContentResponse()
        {
            var newAbbreviation = ModelFakes.TherapyMainFake.Generate().Abbreviation;

            _testTherapyMains[0].Abbreviation = newAbbreviation;

            var response = await _testTherapyMainController.PutTherapyMain(_testTherapyMains[0].Type, _testTherapyMains[0]);

            response.Should().BeOfType <NoContentResult>();
        }
Beispiel #2
0
        public async Task ValidPutTherapyMainReturnsNoContentResponse()
        {
            var response = await _testTherapyMainController.PutTherapyMain(_testTherapyMains[0].Type, _testTherapyMains[0]);

            response.Should().BeOfType <NoContentResult>();
        }