8
0
Просмотр исходного кода

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

Kamil Piechaczek 6 лет назад
Родитель
Сommit
e1a27ab4b2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-build-decoupled-document/tests/ckeditor.js

+ 1 - 1
packages/ckeditor5-build-decoupled-document/tests/ckeditor.js

@@ -154,7 +154,7 @@ describe( 'DecoupledEditor 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 );