Skip to content

Commit e1e0caa

Browse files
committed
tests: fix email test: newer version of MediaWiki uses a different error code
1 parent 281a707 commit e1e0caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/user.edit.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('user class: write methods', async function () {
1818
return expect(u.email('Subject', 'body'))
1919
.to.be.eventually.rejectedWith(Mwn.Error)
2020
.with.property('code')
21-
.that.equals('noemail');
21+
.that.equals('noemailtext');
2222
});
2323

2424
it('block', function () {

0 commit comments

Comments
 (0)