Skip to content

Commit

Permalink
fix: add test for getRSLookupURI
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmacdonald committed Aug 14, 2019
1 parent b8b4276 commit c581fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ function doObjectsHaveSameKeys(...objects){
}

test('lookup builders', (assert)=> {
assert.plan(4);
['getPersonLookupURI', 'getPlaceLookupURI', 'getTitleLookupURI', 'getOrganizationLookupURI'].forEach(uriBuilderMethod => {
assert.plan(5);
['getPersonLookupURI', 'getPlaceLookupURI', 'getTitleLookupURI', 'getOrganizationLookupURI', 'getRSLookupURI'].forEach(uriBuilderMethod => {
assert.comment(uriBuilderMethod);
assert.ok(viaf[uriBuilderMethod](queryString).includes(queryString), 'should contain the query string');
});
Expand Down

0 comments on commit c581fb4

Please sign in to comment.