mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 03:27:05 -04:00
Remove all Equal
in whereClause in find
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
943794aca1
commit
b384c795d0
7 changed files with 126 additions and 41 deletions
|
@ -24,6 +24,7 @@ export function mockSelectQueryBuilder<T>(
|
|||
getOne: () => Promise.resolve(returnValue),
|
||||
orWhere: () => mockedQueryBuilder,
|
||||
setParameter: () => mockedQueryBuilder,
|
||||
getMany: () => Promise.resolve(returnValue ? [returnValue] : []),
|
||||
});
|
||||
return mockedQueryBuilder;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue