mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
tweak tests
This commit is contained in:
parent
61147932b7
commit
9747f7bcd6
@ -936,7 +936,7 @@ describe('SearchManager', (sqlHelper: DBTestHelper) => {
|
||||
await sqlHelper.clearDB();
|
||||
await setUpSqlDB();
|
||||
p5 = TestHelper.getBasePhotoEntry(subDir2, 'p5-23h-ago.jpg');
|
||||
p5.metadata.creationDate = Date.now() - 60 * 60 * 23 * 1000;
|
||||
p5.metadata.creationDate = Date.now() - 60 * 60 * 24 * 1000 - 1000;
|
||||
p6 = TestHelper.getBasePhotoEntry(subDir2, 'p6-300d-ago.jpg');
|
||||
p6.metadata.creationDate = Date.now() - 60 * 60 * 24 * 300 * 1000;
|
||||
p7 = TestHelper.getBasePhotoEntry(subDir2, 'p7-1y-1min-ago.jpg');
|
||||
|
Loading…
Reference in New Issue
Block a user