Skip to content

Commit bb52f24

Browse files
committed
Blank out website and image to skip HTTP URL validation
1 parent 4a788f3 commit bb52f24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/controllers/materials_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ class MaterialsControllerTest < ActionController::TestCase
16311631

16321632
test 'should display non-trainer contributor with linked ORCID' do
16331633
jc = profiles(:trainer_one_profile)
1634-
jc.update!(public: false)
1634+
jc.update!(public: false, website: nil, image_url: nil)
16351635
jc = Profile.find(jc.id)
16361636
assert @material.update(authors: [{ name: 'John Doe' },
16371637
{ name: 'Jane Smith', orcid: '0000-0001-9999-9990' }],

0 commit comments

Comments
 (0)