Skip to content

Commit

Permalink
fix related_samples in sop_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Dec 13, 2024
1 parent 3d0c146 commit e0c9225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/sop_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def test_project_for_sop_and_sop_version_match

sample_type = FactoryBot.create(:sop_sample_type, project_ids: [project.id])
sop_attr = FactoryBot.build(:sop_sample_attribute, title: 'sop 2', sample_type: sample_type)
sample_type.sample_attributes << sop_attr

sop = FactoryBot.create(:sop)
another_sop = FactoryBot.create(:sop)
sop_without_samples = FactoryBot.create(:sop)
Expand Down

0 comments on commit e0c9225

Please sign in to comment.