diff --git a/test/client/doc.js b/test/client/doc.js index 36ff9796d..e5424d1ac 100644 --- a/test/client/doc.js +++ b/test/client/doc.js @@ -542,7 +542,7 @@ describe('Doc', function() { }; } - doc.on('error', expectError('FETCH_ERROR')); + doc.on('error', expectError('ERR_HARD_ROLLBACK_FETCH_FAILED')); doc.submitOp(nonInvertibleOp, expectError('SUBMIT_ERROR')); } ], done);