public async Task UpdatePlayListAsyncShouldUpdatePlayList() { using (var context = new MusicDBContext(options)) { IMusicRepoDB _repo = new MusicRepoDB(context); PlayList testPlayList = new PlayList(); testPlayList.Id = 4; testPlayList.UserId = 1; testPlayList.Name = "Songs to git gud too"; ICollection <MusicPlaylist> playListMusicPlaylist = new List <MusicPlaylist>(); MusicPlaylist testMusicPlaylist = new MusicPlaylist(); testMusicPlaylist.Id = 4; testMusicPlaylist.PlayListId = 2; testMusicPlaylist.MusicId = 1; playListMusicPlaylist.Add(testMusicPlaylist); var newPlayList = await _repo.AddPlayListAsync(testPlayList); var updatedPlayList = await _repo.UpdatePlayListAsync(testPlayList); testPlayList.Name = "Git Gud"; Assert.Equal("Git Gud", updatedPlayList.Name); } }