Skip to content

Commit 344d5fb

Browse files
committed
test(api): expect invalid-params for query validation in oauthapps
Made-with: Cursor
1 parent a868a33 commit 344d5fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ describe('[OAuthApps]', () => {
252252
.expect(400)
253253
.expect((res) => {
254254
expect(res.body).to.have.property('success', false);
255-
expect(res.body).to.have.property('errorType', 'error-invalid-params');
255+
expect(res.body).to.have.property('errorType', 'invalid-params');
256256
expect(res.body).to.have.property('error');
257257
expect(res.body.error).to.include('must be string').and.include('must match exactly one schema in oneOf');
258258
});
@@ -278,7 +278,7 @@ describe('[OAuthApps]', () => {
278278
.expect(400)
279279
.expect((res) => {
280280
expect(res.body).to.have.property('success', false);
281-
expect(res.body).to.have.property('errorType', 'error-invalid-params');
281+
expect(res.body).to.have.property('errorType', 'invalid-params');
282282
expect(res.body).to.have.property('error');
283283
expect(res.body.error).to.include('must be string').and.include('must match exactly one schema in oneOf');
284284
});

0 commit comments

Comments
 (0)