Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xBaank committed Aug 13, 2024
1 parent dee13b8 commit 378638e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/PlayerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ public PlayerTests()
{
var options = CreateInMemoryOptions();
var context = new MyDbContext(options);
var settings = new SettingsRepository(context);
Utils.ConfigurePlatformDependenciesAsync(new FakeConsole()).GetAwaiter().GetResult();
_player = new(new YoutubeClient(), new SettingsRepository(context)) { Volume = 0 };
settings.InitializeAsync().GetAwaiter().GetResult();
_player = new(new YoutubeClient(), settings) { Volume = 0 };
}

[Fact]
Expand Down

0 comments on commit 378638e

Please sign in to comment.