瀏覽代碼

Fix old unit tests.

Mateusz Samsel 6 年之前
父節點
當前提交
009adfe69c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/ckeditor5-link/tests/linkui.js
  2. 1 1
      packages/ckeditor5-link/tests/ui/linkformview.js

+ 1 - 1
packages/ckeditor5-link/tests/linkui.js

@@ -885,7 +885,7 @@ describe( 'LinkUI', () => {
 				formView.fire( 'submit' );
 
 				expect( executeSpy.calledOnce ).to.be.true;
-				expect( executeSpy.calledWithExactly( 'link', 'http://cksource.com' ) ).to.be.true;
+				expect( executeSpy.calledWithExactly( 'link', 'http://cksource.com', {} ) ).to.be.true;
 			} );
 
 			it( 'should hide and reveal the #actionsView on formView#submit event', () => {

+ 1 - 1
packages/ckeditor5-link/tests/ui/linkformview.js

@@ -20,7 +20,7 @@ describe( 'LinkFormView', () => {
 	testUtils.createSinonSandbox();
 
 	beforeEach( () => {
-		view = new LinkFormView( { t: val => val } );
+		view = new LinkFormView( { t: val => val }, [] );
 		view.render();
 	} );