@@ -25,7 +25,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
25
25
given :
26
26
String listId = " testListId"
27
27
String url = " /speciesListItems/" + listId
28
- Map params = [includeKvp : true , pageSize : 500 , page : 1 ]
28
+ Map params = [pageSize : 500 , page : 1 ]
29
29
Map response = [statusCode : HttpStatus . OK . value(), resp : [[scientificName : " Testus species" , vernacularName : " Test Species" , kvpValues : [], classification : [taxonConceptID : " testLsid" , success : true , scientificName : " Testus species" , vernacularName : " Test Species" ], properties : []]]]
30
30
31
31
when :
@@ -57,7 +57,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
57
57
given :
58
58
String listId = " testListId"
59
59
String url = " /speciesListItems/" + listId
60
- Map params = [includeKvp : true , pageSize : 500 , page : 1 ]
60
+ Map params = [pageSize : 500 , page : 1 ]
61
61
Map response = [
62
62
statusCode : HttpStatus . OK . value(),
63
63
resp : [[
@@ -174,7 +174,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
174
174
given :
175
175
def listId = " dr123"
176
176
def mockResponse = [statusCode : statusCode, resp : responseData]
177
- def params = [includeKvp : true , pageSize : 10 , page : 1 , q : " test" ]
177
+ def params = [includeKVP : true , pageSize : 10 , page : 1 , q : " test" ]
178
178
179
179
when :
180
180
def result = service. speciesListItemsUsingV1(listId, params. pageSize, params. page, params. q)
0 commit comments