Skip to content

Commit 5037bb6

Browse files
committed
Fixed an invalid plugin substitution definitions.
1 parent 5831745 commit 5037bb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ckeditor5-emoji/tests/emojimention.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,12 @@ describe( 'EmojiMention', () => {
206206

207207
const editor = await ClassicTestEditor.create( editorElement, {
208208
plugins: [ EmojiMention, Mention ],
209-
substitutePlugins: [ EmojiDatabaseMock ]
209+
substitutePlugins: [ EmojiRepositoryMock ]
210210
} );
211211

212212
const editor1 = await ClassicTestEditor.create( editor1Element, {
213213
plugins: [ EmojiMention, Mention ],
214-
substitutePlugins: [ EmojiDatabaseMock ],
214+
substitutePlugins: [ EmojiRepositoryMock ],
215215
mention: {
216216
feeds: editor.config.get( 'mention.feeds' )
217217
}
@@ -233,7 +233,7 @@ describe( 'EmojiMention', () => {
233233

234234
const editor = await ClassicTestEditor.create( editorElement, {
235235
plugins: [ EmojiMention, Mention ],
236-
substitutePlugins: [ EmojiDatabaseMock ]
236+
substitutePlugins: [ EmojiRepositoryMock ]
237237
} );
238238

239239
expect( editor.config.get( 'mention.feeds' ).length ).to.equal( 1 );

0 commit comments

Comments
 (0)