From 831e9ce49abbcc64a7b75c6fb2c90ad20b233e00 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 6 Apr 2025 17:25:46 -0500 Subject: formatting/docs --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index 28f54629..205ff0e2 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -130,9 +130,9 @@ public void Returns_Null_When_Path_Is_NullOrWhitespace(string path) { var (service, _) = GetFixture(); - + var result = service.GetProfilePicture(path); - + Assert.Null(result); } @@ -141,9 +141,9 @@ { const string nonExistentPath = "nonexistent-file.jpg"; var (service, _) = GetFixture(); - + var result = service.GetProfilePicture(nonExistentPath); - + Assert.Null(result); } @@ -155,11 +155,11 @@ { // Write some test data to the temp file System.IO.File.WriteAllBytes(tempFile, new byte[] { 1, 2, 3, 4, 5 }); - + var (service, _) = GetFixture(); - + var result = service.GetProfilePicture(tempFile); - + Assert.NotNull(result); Assert.Equal(new byte[] { 1, 2, 3, 4, 5 }, result); } @@ -174,7 +174,7 @@ } } - private static (UserService governor, Mocks mocks) GetFixture(Options options = null) + private static (UserService service, Mocks mocks) GetFixture(Options options = null) { var mocks = new Mocks(options); var service = new UserService( -- cgit v1.2.3