浏览代码

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

Kamil Piechaczek 6 年之前
父节点
当前提交
70e10987d6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-core/tests/_utils-tests/articlepluginset.js

+ 2 - 2
packages/ckeditor5-core/tests/_utils-tests/articlepluginset.js

@@ -82,7 +82,7 @@ describe( 'ArticlePluginSet', () => {
 				'<li>OL List item 2</li>' +
 			'</ol>' +
 			'<figure class="image image-style-side">' +
-				'<img alt="bar" src="foo">' +
+				'<img alt="bar" src="/assets/sample.png">' +
 				'<figcaption>Caption</figcaption>' +
 			'</figure>' +
 			'<blockquote>' +
@@ -118,7 +118,7 @@ describe( 'ArticlePluginSet', () => {
 				'<li>OL List item 2</li>' +
 			'</ol>' +
 			'<figure class="image image-style-side">' +
-				'<img alt="bar" src="foo"></img>' +
+				'<img alt="bar" src="/assets/sample.png"></img>' +
 				'<figcaption>Caption</figcaption>' +
 			'</figure>' +
 			'<blockquote>' +