From 510d9b101ba87dcd80e1e72461b7076d4e6042cd Mon Sep 17 00:00:00 2001 From: Meghan Chua <17057809+malchua@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:09:54 -0600 Subject: [PATCH] Update tests after modifying fixtures --- test/controllers/concerns/project_share_actions_concern_test.rb | 2 +- test/models/group_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/concerns/project_share_actions_concern_test.rb b/test/controllers/concerns/project_share_actions_concern_test.rb index 53a5d9fe55..9c3c4c4e41 100644 --- a/test/controllers/concerns/project_share_actions_concern_test.rb +++ b/test/controllers/concerns/project_share_actions_concern_test.rb @@ -29,7 +29,7 @@ class ProjectShareActionsConcernTest < ActionDispatch::IntegrationTest }, format: :turbo_stream }) assert_response :success - assert_equal 1, + assert_equal 2, project_namespace.shared_with_group_links.of_ancestors_and_self.count end diff --git a/test/models/group_test.rb b/test/models/group_test.rb index a3a52cfb04..4a95debbb8 100644 --- a/test/models/group_test.rb +++ b/test/models/group_test.rb @@ -211,7 +211,7 @@ def setup end test 'total samples count should not include shared projects that are children of groups in shared groups' do - assert_equal 6, groups(:group_five).aggregated_samples_count + assert_equal 8, groups(:group_five).aggregated_samples_count end test 'update samples_count by sample transfer' do