chore(server): unit tests for metadata service (#4280)
* unit tests for metadata service * better test descriptions
This commit is contained in:
@@ -264,7 +264,7 @@ export class MetadataService {
|
||||
position,
|
||||
length,
|
||||
});
|
||||
const checksum = await this.cryptoRepository.hashSha1(video);
|
||||
const checksum = this.cryptoRepository.hashSha1(video);
|
||||
|
||||
let motionAsset = await this.assetRepository.getByChecksum(asset.ownerId, checksum);
|
||||
if (!motionAsset) {
|
||||
|
||||
Reference in New Issue
Block a user