public async Task GetCommentsAsyncShouldReturnAllComments() { using (var context = new MusicDBContext(options)) { IMusicRepoDB _repo = new MusicRepoDB(context); var comments = await _repo.GetCommentsAsync(); Assert.Equal(2, comments.Count); } }
public async Task GetCommentsAsyncShouldReturnAllComments() { using (var context = new MusicDBContext(options)) { IMusicRepoDB _repo = new MusicRepoDB(context); var comments = await _repo.GetCommentsAsync(); Assert.Equal(2, comments.Count); } }