Преглед на файлове

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 );