Skip to content

Commit

Permalink
Fix a test that broke due to the previous changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Jun 21, 2024
1 parent e70b772 commit 93c0c5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions test_app/schema/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ classes:
sample:
range: Sample
inverse: Sample.sequencing_reads
annotations:
mutable: false
protocol:
range: SequencingProtocol
required: true
Expand Down
2 changes: 1 addition & 1 deletion test_app/tests/test_field_visibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def test_update_fields(
]
fields = [field["name"] for field in create_type["inputFields"]]
# We have a limited subset of mutable fields on SequencingRead
assert set(fields) == set(["nucleicAcid", "technology", "protocol", "deletedAt", "primerFileId", "collectionId"])
assert set(fields) == set(["nucleicAcid", "sampleId", "technology", "protocol", "deletedAt", "primerFileId", "collectionId"])


# Make sure we only allow certain fields to be set at entity creation time.
Expand Down

0 comments on commit 93c0c5e

Please sign in to comment.