Skip to content

Commit

Permalink
Updated script tests for free text creator field.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mulholland committed Feb 22, 2018
1 parent 57f4651 commit f6c0a89
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ class RifcsScriptTest extends Specification {
}.flatten()
actualDescription == description
where:
size << [4, 1, 2]
size << [5, 1, 2]
key << [["http://demo.redboxresearchdata.com.au/mint/published/detail/84176738cc5e80306afc7adb163a4bab", "http://nla.gov.au/nla.party-965000"], ["foo"], ["foo"]]
type << [["hasCollector", "hasAssociationWith", "hasCollector", "hasCollector"], ["hasFooBar"], ["hasFooBar", "hasFooBar2"]]
description << [[null, null, null, null], ["bar"], ["bar", "bar2"]]
type << [["hasCollector", "hasAssociationWith", "hasCollector", "hasCollector", "hasCollector"], ["hasFooBar"], ["hasFooBar", "hasFooBar2"]]
description << [[null, null, null, null, null], ["bar"], ["bar", "bar2"]]
tfpackageStub << [
stubTfpackage(),
"{\n" +
Expand Down Expand Up @@ -1609,6 +1609,10 @@ class RifcsScriptTest extends Specification {
" <key>http://orcid.org/0000-0001-6810-1260</key>\n" +
" <relation type=\"hasCollector\"/>\n" +
" </relatedObject>\n" +
" <relatedObject>\n" +
" <key>https://www.scopus.com/authid/detail.uri?authorId=000111</key>\n" +
" <relation type=\"hasCollector\"/>\n" +
" </relatedObject>\n" +
" <name type=\"primary\" xml:lang=\"en\">\n" +
" <namePart>Research Data Collection</namePart>\n" +
" </name>\n" +
Expand Down

0 comments on commit f6c0a89

Please sign in to comment.