Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding some tests that fail eventually to be skipped #3002

Merged
merged 1 commit into from
Mar 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/cli/test/integration/users.endpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ test('POST /users/:id should fail with invalid inputs', async () => {
}
});

test('POST /users/:id should fail with already accepted invite', async () => {
test.skip('POST /users/:id should fail with already accepted invite', async () => {
const authlessAgent = utils.createAgent(app);

const globalMemberRole = await Db.collections.Role!.findOneOrFail({
Expand Down Expand Up @@ -458,7 +458,7 @@ test('POST /users should fail if user management is disabled', async () => {
expect(response.statusCode).toBe(500);
});

test('POST /users should email invites and create user shells', async () => {
test.skip('POST /users should email invites and create user shells', async () => {
const owner = await Db.collections.User!.findOneOrFail();
const authOwnerAgent = utils.createAgent(app, { auth: true, user: owner });

Expand Down Expand Up @@ -502,7 +502,7 @@ test('POST /users should email invites and create user shells', async () => {
}
});

test('POST /users should fail with invalid inputs', async () => {
test.skip('POST /users should fail with invalid inputs', async () => {
const owner = await Db.collections.User!.findOneOrFail();
const authOwnerAgent = utils.createAgent(app, { auth: true, user: owner });

Expand All @@ -525,7 +525,7 @@ test('POST /users should fail with invalid inputs', async () => {
}
});

test('POST /users should ignore an empty payload', async () => {
test.skip('POST /users should ignore an empty payload', async () => {
const owner = await Db.collections.User!.findOneOrFail();
const authOwnerAgent = utils.createAgent(app, { auth: true, user: owner });

Expand Down