diff --git a/tests/image.js b/tests/image.js index 1d74ab4a..bab35313 100644 --- a/tests/image.js +++ b/tests/image.js @@ -68,7 +68,7 @@ describe( 'Image', () => { // When image is selected along with text. setModelData( newEditor.document, 'fo[oalt text]' ); - contextualToolbar._showPanel(); + contextualToolbar.show(); // ContextualToolbar should be visible. expect( balloon.visibleView ).to.equal( contextualToolbar.toolbarView ); @@ -76,7 +76,7 @@ describe( 'Image', () => { // When only image is selected. setModelData( newEditor.document, 'foo[alt text]' ); - contextualToolbar._showPanel(); + contextualToolbar.show(); // ContextualToolbar should not be visible. expect( balloon.visibleView ).to.be.null;