Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Jul 24, 2024
1 parent 60605a4 commit 2a90c9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/functional/isa_assays_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ def setup

## Create an assay at the end of the stream
end_assay_sample_type = FactoryBot.create(:isa_assay_material_sample_type,
linked_sample_type: study.sample_types.second,
projects: [project],
contributor: person)
linked_sample_type: study.sample_types.second,
projects: [project],
contributor: person)
end_assay = FactoryBot.create(:assay, position: 0, contributor: person, study: , sample_type: end_assay_sample_type, assay_stream: )

refute end_assay.is_assay_stream?
Expand All @@ -279,7 +279,7 @@ def setup

intermediate_isa_assay_attributes1 = { assay: intermediate_assay_attributes1,
input_sample_type_id: study.sample_types.second.id,
sample_type: material_assay_sample_type_attributes(projects.first, sample_collection_sample_type.id) }
sample_type: material_assay_sample_type_attributes(projects.first, study.sample_types.second.id) }

assert_difference "Assay.count", 1 do
assert_difference "SampleType.count", 1 do
Expand Down

0 comments on commit 2a90c9b

Please sign in to comment.