Skip to content

Commit c98d920

Browse files
committed
fix(tests): update slash-command-test-simple for minLength validation
command:null is coerced to "" by ajv, which now fails minLength:1 instead of the type check.
1 parent d472caf commit c98d920

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/meteor/tests/end-to-end/apps/slash-command-test-simple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { IS_EE } from '../../e2e/config/constants';
2727
.expect(400)
2828
.expect((res) => {
2929
expect(res.body).to.have.a.property('success', false);
30-
expect(res.body.error).to.include('must be string');
30+
expect(res.body.error).to.include('must NOT have fewer than 1 characters');
3131
})
3232
.end(done);
3333
});

0 commit comments

Comments
 (0)