mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Fixes flaky directory scan fingerprint upsert test
The fixture can generate the same directory path twice, which makes the upsert collapse the two new rows into one. The test now uses two distinct paths.
This commit is contained in:
1 parent
6ef9592f00
commit
d3900deb45
1 file changed
+2
-2
+2
-2
@@ -102,8 +102,8 @@ public class DirectoryScanFingerprintRepositoryTests : IDisposable
|
||||
(Guid libraryId, _) = await SeedLibraryGraphAsync();
|
||||
List<DirectoryScanFingerprintEntity> fingerprints =
|
||||
[
|
||||
_directoryScanFingerprintEntityFixture.Create(libraryId: libraryId),
|
||||
_directoryScanFingerprintEntityFixture.Create(libraryId: libraryId)
|
||||
_directoryScanFingerprintEntityFixture.Create(libraryId: libraryId, path: "/dir1"),
|
||||
_directoryScanFingerprintEntityFixture.Create(libraryId: libraryId, path: "/dir2")
|
||||
];
|
||||
|
||||
// Act
|
||||
|
||||
Reference in new issue
Block a user