public async Task UpdateAsync_given_non_existing_returns_NotFound() { var hero = new SuperheroUpdateDTO { Id = 42 }; var response = await _repository.UpdateAsync(hero); Assert.Equal(NotFound, response); }
public async Task UpdateAsync_given_non_existing_returns_NotFound() { var hero = new SuperheroUpdateDTO { Id = 42 }; var response = await _repository.UpdateAsync(hero); Assert.Equal(NotFound, response); }