public async Task CreateAsync_returns_Created() { var hero = new SuperheroCreateDTO { Name = "Diana", AlterEgo = "Wonder Woman" }; var(response, _) = await _repository.CreateAsync(hero); Assert.Equal(Created, response); }
public async Task CreateAsync_returns_Created() { var hero = new SuperheroCreateDTO { Name = "Diana", AlterEgo = "Wonder Woman" }; var(response, _) = await _repository.CreateAsync(hero); Assert.Equal(Created, response); }