diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-14 19:59:08 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-14 19:59:08 -0800 |
commit | b8aa57160b6b5de9dca3196a792f46c6f785da31 (patch) | |
tree | 0cf7999d6c2c79652038d3f2b18621e020c56c49 /rust/tests/test_old_python_tests.rs | |
parent | e095a6587c1915941d4ee4d4742418b31103ae46 (diff) | |
download | fatcat-b8aa57160b6b5de9dca3196a792f46c6f785da31.tar.gz fatcat-b8aa57160b6b5de9dca3196a792f46c6f785da31.zip |
implement new controlled vocabularies
Diffstat (limited to 'rust/tests/test_old_python_tests.rs')
-rw-r--r-- | rust/tests/test_old_python_tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/tests/test_old_python_tests.rs b/rust/tests/test_old_python_tests.rs index ebe1dd0b..1b496328 100644 --- a/rust/tests/test_old_python_tests.rs +++ b/rust/tests/test_old_python_tests.rs @@ -68,7 +68,7 @@ fn test_api_rich_create() { // this stub work will be referenced let mut new_release = ReleaseEntity::new("derivative work".to_string()); - new_release.release_type = Some("journal-article".to_string()); + new_release.release_type = Some("article-journal".to_string()); new_release.work_id = Some(work_id.clone()); let mut contrib = ReleaseContrib::new(); contrib.creator_id = Some(creator_id.clone()); @@ -209,7 +209,7 @@ fn test_merge_works() { _ => unreachable!(), }; let mut new_release = ReleaseEntity::new("some release".to_string()); - new_release.release_type = Some("journal-article".to_string()); + new_release.release_type = Some("article-journal".to_string()); new_release.work_id = Some(work_a_id.clone()); new_release.doi = Some("10.1234/A1".to_string()); let resp = client @@ -231,7 +231,7 @@ fn test_merge_works() { }; let mut new_release = ReleaseEntity::new("some release".to_string()); - new_release.release_type = Some("journal-article".to_string()); + new_release.release_type = Some("article-journal".to_string()); new_release.work_id = Some(work_b_id.clone()); new_release.doi = Some("10.1234/B1".to_string()); let resp = client @@ -244,7 +244,7 @@ fn test_merge_works() { }; let mut new_release = ReleaseEntity::new("some release".to_string()); - new_release.release_type = Some("journal-article".to_string()); + new_release.release_type = Some("article-journal".to_string()); new_release.work_id = Some(work_b_id.clone()); new_release.doi = Some("10.1234/B2".to_string()); let resp = client |