This commit is contained in:
Adria Navarro 2024-02-21 10:18:46 +01:00
parent e988890a7e
commit f6e968efe8
1 changed files with 3 additions and 2 deletions

View File

@ -84,7 +84,8 @@ describe("syncGlobalUsers", () => {
await syncGlobalUsers()
const metadata = await rawUserMetadata()
expect(metadata).toHaveLength(2)
expect(metadata).toHaveLength(2 + 1) // ADMIN user created in test bootstrap still in the application
expect(metadata).toContainEqual(
expect.objectContaining({
_id: db.generateUserMetadataID(user1._id!),