From fb7055b3830a1e171d1131c8a7acc5a0641e635f Mon Sep 17 00:00:00 2001 From: Melissa Lagunas <30912739+lagunasmel@users.noreply.github.com> Date: Mon, 8 Mar 2021 07:26:25 -0500 Subject: [PATCH] Replaced http links with https (#9261) --- test/functional/notes_controller_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/notes_controller_test.rb b/test/functional/notes_controller_test.rb index 91e87fbf5e..4450a23af5 100644 --- a/test/functional/notes_controller_test.rb +++ b/test/functional/notes_controller_test.rb @@ -70,13 +70,13 @@ def teardown node = Node.where(type: 'note', status: 1).first assert node.comments.length > 0 comment = node.comments.last(2).first - comment.comment = 'Test **markdown** and http://links.com' + comment.comment = 'Test **markdown** and https://links.com' comment.save! get :show, params: { id: node.id } assert_select 'strong', 'markdown' - assert_select 'a', 'http://links.com' + assert_select 'a', 'https://links.com' assert_response :success end @@ -483,13 +483,13 @@ def teardown comment = Comment.new(nid: nodes(:one).nid, uid: users(:bob).id, thread: '01/') - comment.comment = '' + comment.comment = '' comment.save node = nodes(:one).path.split('/') get :show, params: { id: node[4], author: node[2], date: node[3] } - assert_select 'iframe[src=?]', 'http://mapknitter.org/embed/sattelite-imagery' + assert_select 'iframe[src=?]', 'https://mapknitter.org/embed/sattelite-imagery' end # test "should mark admins and moderators with a special icon" do