diff --git a/test/fixtures/revisions.yml b/test/fixtures/revisions.yml index ce4098fd453..8c43ce2c9cd 100644 --- a/test/fixtures/revisions.yml +++ b/test/fixtures/revisions.yml @@ -310,7 +310,7 @@ scraped_image: nid: 27 uid: 2 title: Post test review 4 - body: "Lots of text and then an image: ![image preview](/url/to/image.png)" + body: "Lots of text and then an image: ![image preview](/images/pl.png)" timestamp: <%= DateTime.new(2018,8,20).to_i %> search_trawl: @@ -340,4 +340,4 @@ purple_air_with_hyphen: title: "This is purple-air with hyphen" body: "Is Purple-air searched with hyphens or without hyphens?" timestamp: <%= DateTime.new(2019,2,20).to_i %> - \ No newline at end of file + diff --git a/test/unit/node_test.rb b/test/unit/node_test.rb index 2afbaca1f19..d5fed8a2843 100644 --- a/test/unit/node_test.rb +++ b/test/unit/node_test.rb @@ -441,7 +441,7 @@ def setup test 'should show scraped image' do node = nodes(:scraped_image) - assert_equal '/url/to/image.png', node.scraped_image + assert_equal '/images/pl.png', node.scraped_image end test 'contribution graph making' do