Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticFragilist committed Mar 25, 2024
1 parent 6640110 commit 9195d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Tests/Services/UserServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public UserServiceTests()
_organizerRepositoryMock = new Mock<IOrganizerRepository>();
_moderatorRepositoryMock = new Mock<IModeratorRepository>();
_fileShareServiceMock = new Mock<IFileShareService>();
_fileShareServiceMock.Setup(service => service.FileGetDownloadUri(It.IsAny<string>())).Returns(new Uri("http://example.com/avatar.webp"));
_userService = new UserService(_organizerRepositoryMock.Object, _fileShareServiceMock.Object, _moderatorRepositoryMock.Object);
}

Expand Down

0 comments on commit 9195d3f

Please sign in to comment.