Skip to content

Commit

Permalink
Fix tests init
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrWachulec committed May 22, 2024
1 parent c13af94 commit 40ec7d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/VMStartStop.Tests/TagManagerServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public void SetUp()
{
var serviceProvider = new ServiceCollection().AddLogging().BuildServiceProvider();
var logger = serviceProvider.GetService<ILoggerFactory>();
var tagsRepository = new TagsRepository(logger);
var configuration = new ConfigurationBuilder().Build();
var tagsRepository = new TagsRepository(logger, configuration);
_tagManagerService = new TagManagerService(logger, tagsRepository);
}

Expand Down

0 comments on commit 40ec7d7

Please sign in to comment.