fix tests

This commit is contained in:
Hongbo Wu
2024-06-28 12:37:45 +08:00
parent 8bc05dad03
commit a06f1a243c
2 changed files with 2 additions and 1 deletions

View File

@ -253,6 +253,7 @@ export const findHighlightById = async (
const highlightRepo = tx.withRepository(highlightRepository)
return highlightRepo.findOneBy({
id: highlightId,
user: { id: userId },
})
},
undefined,

View File

@ -79,4 +79,4 @@ class ScoreClientImpl implements ScoreClient {
}
}
export const scoreClient = new StubScoreClientImpl()
export const scoreClient = new ScoreClientImpl()