Skip to content

Commit

Permalink
fix missing asserts in assay and study controller tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Jan 29, 2025
1 parent e2cddec commit 9fa090f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/assays_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ def check_fixtures_for_authorization_of_sops_and_datafiles_links
access_type: Policy::NO_ACCESS,
permissions: [FactoryBot.create(:permission, contributor: proj, access_type: Policy::EDITING)]))
get :edit, params: { id: assay.id }
assert_response :success
end

test "should create sharing permissions 'with your project and with all SysMO members'" do
Expand Down
1 change: 1 addition & 0 deletions test/functional/studies_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ def test_should_show_investigation_tab
access_type: Policy::NO_ACCESS,
permissions: [FactoryBot.create(:permission, contributor: proj, access_type: Policy::EDITING)]))
get :edit, params: { id: study.id }
assert_response :success
end

test 'should show the contributor avatar' do
Expand Down

0 comments on commit 9fa090f

Please sign in to comment.