Skip to content

Commit

Permalink
Updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsibilla committed Oct 8, 2024
1 parent fa08588 commit 2876933
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/data/get_ancestors_success_dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,25 @@
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BD",
"origin_samples": {
"created_by_user_displayname": "Test User",
"created_by_user_email": "[email protected]",
"created_by_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"created_timestamp": 1681828779121,
"data_access_level": "consortium",
"entity_type": "Sample",
"group_name": "CODCC Testing Group",
"group_uuid": "57192604-18e0-11ed-b79b-972795fc9504",
"lab_tissue_sample_id": "Human Blood",
"last_modified_timestamp": 1681828779121,
"last_modified_user_displayname": "Test User",
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BD",
"sample_category": "Organ",
"sennet_id": "SNT458.VPHX.635",
"uuid": "cf3d0408de9afd703c8bd71808176b38"
},
"sample_category": "Organ",
"sennet_id": "SNT458.VPHX.635",
"uuid": "cf3d0408de9afd703c8bd71808176b38",
Expand Down
64 changes: 64 additions & 0 deletions test/data/get_entity_by_type_success_sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,38 @@
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BR",
"origin_samples": {
"created_by_user_displayname": "Test User",
"created_by_user_email": "[email protected]",
"created_by_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"created_timestamp": 1681828388360,
"data_access_level": "consortium",
"description": "Sample lab notes",
"entity_type": "Sample",
"group_name": "CODCC Testing Group",
"group_uuid": "57192604-18e0-11ed-b79b-972795fc9504",
"image_files": [
{
"description": "Test image",
"file_uuid": "ffff1b46e377b91565ed53464cc8d859",
"filename": "a4fc82ba0010139e33c6209b917ac9c487172222.png"
}
],
"lab_tissue_sample_id": "Human Brain",
"last_modified_timestamp": 1681828388360,
"last_modified_user_displayname": "Test User",
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BR",
"protocol_url": "dx.doi.org/10.17504/protocols.io.3byl4j398lo5/v1",
"sample_category": "Organ",
"sennet_id": "SNT834.LVJG.639",
"thumbnail_file": {
"file_uuid": "ffffb2c9be7816087e13580e244855c5",
"filename": "image_handler.jpg"
},
"uuid": "3c4fc147a08429f58856779fcde96f42"
},
"protocol_url": "dx.doi.org/10.17504/protocols.io.3byl4j398lo5/v1",
"sample_category": "Organ",
"sennet_id": "SNT834.LVJG.639",
Expand Down Expand Up @@ -75,6 +107,38 @@
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BR",
"origin_samples": {
"created_by_user_displayname": "Test User",
"created_by_user_email": "[email protected]",
"created_by_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"created_timestamp": 1681828388360,
"data_access_level": "consortium",
"description": "Sample lab notes",
"entity_type": "Sample",
"group_name": "CODCC Testing Group",
"group_uuid": "57192604-18e0-11ed-b79b-972795fc9504",
"image_files": [
{
"description": "Test image",
"file_uuid": "ffff1b46e377b91565ed53464cc8d859",
"filename": "a4fc82ba0010139e33c6209b917ac9c487172222.png"
}
],
"lab_tissue_sample_id": "Human Brain",
"last_modified_timestamp": 1681828388360,
"last_modified_user_displayname": "Test User",
"last_modified_user_email": "[email protected]",
"last_modified_user_sub": "9e5b670f-228d-433c-bb86-a3228d5ca49d",
"organ": "BR",
"protocol_url": "dx.doi.org/10.17504/protocols.io.3byl4j398lo5/v1",
"sample_category": "Organ",
"sennet_id": "SNT834.LVJG.639",
"thumbnail_file": {
"file_uuid": "ffffb2c9be7816087e13580e244855c5",
"filename": "image_handler.jpg"
},
"uuid": "4aff569f5d61477abfe5c40364d04a1c"
},
"protocol_url": "dx.doi.org/10.17504/protocols.io.3byl4j398lo5/v1",
"sample_category": "Organ",
"sennet_id": "SNT834.LVJG.639",
Expand Down

0 comments on commit 2876933

Please sign in to comment.