浏览代码

All tests require an image that exists. It will not cause the 404 error.

Kamil Piechaczek 6 年之前
父节点
当前提交
22db090880
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-build-classic/tests/ckeditor.js

+ 1 - 1
packages/ckeditor5-build-classic/tests/ckeditor.js

@@ -137,7 +137,7 @@ describe( 'ClassicEditor build', () => {
 		} );
 
 		it( 'image works', () => {
-			const data = '<figure class="image"><img src="./manual/sample.jpg"></figure>';
+			const data = '<figure class="image"><img src="/assets/sample.png"></figure>';
 
 			editor.setData( data );
 			expect( editor.getData() ).to.equal( data );