Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: Use sample file for automated tests. See ckeditor/ckeditor5-de…
Browse files Browse the repository at this point in the history
…v#139.
  • Loading branch information
jodator committed Aug 1, 2019
2 parents f0af9b5 + 4141dea commit 94cfdff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe( 'Heading integration', () => {
it( 'should not destroy the image when a selection converted to a heading', () => {
setModelData( model,
'<paragraph>fo[o</paragraph>' +
'<image src="foo.png">' +
'<image src="/assets/sample.png">' +
'<caption>xxx</caption>' +
'</image>' +
'<paragraph>b]ar</paragraph>'
Expand All @@ -82,7 +82,7 @@ describe( 'Heading integration', () => {

expect( getModelData( model ) ).to.equal(
'<heading1>fo[o</heading1>' +
'<image src="foo.png">' +
'<image src="/assets/sample.png">' +
'<caption>xxx</caption>' +
'</image>' +
'<heading1>b]ar</heading1>'
Expand Down

0 comments on commit 94cfdff

Please sign in to comment.