Fix tests

This commit is contained in:
Adria Navarro 2023-10-10 15:35:00 +02:00
parent 21420c59fa
commit c49a16fdac
1 changed files with 0 additions and 6 deletions

View File

@ -180,9 +180,6 @@ describe("bbReferenceProcessor", () => {
{ {
_id: user._id, _id: user._id,
primaryDisplay: user.email, primaryDisplay: user.email,
email: user.email,
firstName: user.firstName,
lastName: user.lastName,
}, },
]) ])
expect(cacheGetUsersSpy).toBeCalledTimes(1) expect(cacheGetUsersSpy).toBeCalledTimes(1)
@ -207,9 +204,6 @@ describe("bbReferenceProcessor", () => {
[user1, user2].map(u => ({ [user1, user2].map(u => ({
_id: u._id, _id: u._id,
primaryDisplay: u.email, primaryDisplay: u.email,
email: u.email,
firstName: u.firstName,
lastName: u.lastName,
})) }))
) )
) )