Skip to content

Commit a7f20f0

Browse files
ggazzoclaude
andcommitted
fix(tests): update invite-all-from test to expect 'unauthorized' error
API.v1.forbidden() without arguments returns 'unauthorized' for backward compatibility. The test was expecting the old 'Not allowed' message. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b395812 commit a7f20f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/tests/end-to-end/api/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ describe('[Commands]', () => {
469469
})
470470
.expect(403)
471471
.expect((res) => {
472-
expect(res.body).to.have.a.property('error', 'Not allowed');
472+
expect(res.body).to.have.a.property('error', 'unauthorized');
473473
});
474474
});
475475

0 commit comments

Comments
 (0)