Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Code refactoring: Renamed the error thrown by the secureSourceElement…
Browse files Browse the repository at this point in the history
…() helper.
  • Loading branch information
oleq committed Jul 23, 2019
1 parent b0a498b commit cac36b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/decouplededitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe( 'DecoupledEditor', () => {
expect.fail( 'Decoupled editor should not initialize on an element already used by other instance.' );
},
err => {
assertCKEditorError( err, /^securesourceelement-element-used-more-than-once/ );
assertCKEditorError( err, /^editor-source-element-already-used/ );
}
)
.then( done )
Expand Down

0 comments on commit cac36b1

Please sign in to comment.