🌟 Support for PostgreSQL (#306)
This commit is contained in:
@@ -25,7 +25,7 @@ export class DriveFileMockClass {
|
||||
extension: string;
|
||||
description: string;
|
||||
tags: string[];
|
||||
last_modified: string;
|
||||
last_modified: number;
|
||||
access_info: MockAccessInformation;
|
||||
creator: string;
|
||||
is_directory: boolean;
|
||||
|
||||
@@ -81,7 +81,7 @@ describe("The /users API", () => {
|
||||
//Wait for indexation to happen
|
||||
await new Promise(r => setTimeout(r, 5000));
|
||||
|
||||
let resources = await search("ha");
|
||||
let resources = await search("ha", platform.workspace.company_id);
|
||||
expect(resources.length).toBe(2);
|
||||
|
||||
resources = await search("bob rabiot");
|
||||
|
||||
@@ -285,10 +285,6 @@ describe("The /workspace users API", () => {
|
||||
expect(response.statusCode).toBe(201);
|
||||
const resource = response.json()["resource"];
|
||||
checkUserObject(resource);
|
||||
|
||||
workspaceUsersCount = await testDbService.getWorkspaceUsersCountFromDb(workspaceId);
|
||||
expect(workspaceUsersCount).toBe(5);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user