mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 22:11:10 +00:00
Implements library management update library
This commit is contained in:
1 parent
d0d53fd471
commit
291d1fa329
68 files changed
+1003
-110
No files matched your search
+4
-4
@@ -23,7 +23,7 @@ public class AddMediaLibraryRequestMappingTests
|
||||
Guid userId = Guid.NewGuid();
|
||||
AddLibraryRequest request = new(
|
||||
"My Library",
|
||||
LibraryType.Book,
|
||||
"Book",
|
||||
["C:/Books", "D:/Media/Books"]
|
||||
);
|
||||
|
||||
@@ -49,7 +49,7 @@ public class AddMediaLibraryRequestMappingTests
|
||||
Guid userId = Guid.NewGuid();
|
||||
AddLibraryRequest request = new(
|
||||
"My Library",
|
||||
libraryType,
|
||||
libraryType.ToString(),
|
||||
["C:/Media"]
|
||||
);
|
||||
|
||||
@@ -60,7 +60,7 @@ public class AddMediaLibraryRequestMappingTests
|
||||
result.Should().NotBeNull();
|
||||
result.UserId.Should().Be(userId);
|
||||
result.Title.Should().Be(request.Title);
|
||||
result.LibraryType.Should().Be(libraryType);
|
||||
result.LibraryType.Should().Be(libraryType.ToString());
|
||||
result.ContentLocations.Should().BeEquivalentTo(request.ContentLocations);
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ public class AddMediaLibraryRequestMappingTests
|
||||
Guid userId = Guid.NewGuid();
|
||||
AddLibraryRequest request = new(
|
||||
"My Library",
|
||||
LibraryType.Book,
|
||||
"Book",
|
||||
contentLocations
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user