From 9195d3f0f8aaee40eca353f8e1282a4b3b45863e Mon Sep 17 00:00:00 2001 From: MysticFragilist Date: Mon, 25 Mar 2024 10:00:14 -0400 Subject: [PATCH] fix tests --- tests/Tests/Services/UserServiceTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Tests/Services/UserServiceTests.cs b/tests/Tests/Services/UserServiceTests.cs index f9bf729..a737291 100644 --- a/tests/Tests/Services/UserServiceTests.cs +++ b/tests/Tests/Services/UserServiceTests.cs @@ -22,6 +22,7 @@ public UserServiceTests() _organizerRepositoryMock = new Mock(); _moderatorRepositoryMock = new Mock(); _fileShareServiceMock = new Mock(); + _fileShareServiceMock.Setup(service => service.FileGetDownloadUri(It.IsAny())).Returns(new Uri("http://example.com/avatar.webp")); _userService = new UserService(_organizerRepositoryMock.Object, _fileShareServiceMock.Object, _moderatorRepositoryMock.Object); }