diff --git a/Totoro.Core.Tests/ViewModels/WatchViewModelTests.cs b/Totoro.Core.Tests/ViewModels/WatchViewModelTests.cs index 2292815f..b5ab1c9a 100644 --- a/Totoro.Core.Tests/ViewModels/WatchViewModelTests.cs +++ b/Totoro.Core.Tests/ViewModels/WatchViewModelTests.cs @@ -160,6 +160,7 @@ public void WatchViewModel_SavesPositionWhenWatchedOver10Seconds(double time) vm.OnNavigatedTo(new Dictionary { ["Anime"] = animeModel }).Wait(); // act + vmBuilder.MediaPlayer.PlayingSubject.OnNext(Unit.Default); vmBuilder.MediaPlayer.PositionChangedSubject.OnNext(TimeSpan.FromSeconds(time)); var count = time > 10 ? Times.Once() : Times.Never(); @@ -431,7 +432,7 @@ public void WatchViewModel_HasSearchBoxWhenNavigatedWithoutAnime() public void WatchViewModel_HidesSearchBoxWhenNavigatedWithAnime() { // arrange - AnimeModel animeModel = new() + FullAnimeModel animeModel = new() { Id = 12189, Title = "Hyouka",