Skip to content

Commit cd86821

Browse files
committed
- fixed failing test
1 parent c67bfb4 commit cd86821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/groovy/au/org/ala/ecodata/forms/SpeciesListServiceSpec.groovy

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
2525
given:
2626
String listId = "testListId"
2727
String url = "/speciesListItems/" + listId
28-
Map params = [includeKvp: true, pageSize: 500, page: 1]
28+
Map params = [pageSize: 500, page: 1]
2929
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: []]]]
3030

3131
when:
@@ -57,7 +57,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
5757
given:
5858
String listId = "testListId"
5959
String url = "/speciesListItems/" + listId
60-
Map params = [includeKvp: true, pageSize: 500, page: 1]
60+
Map params = [pageSize: 500, page: 1]
6161
Map response = [
6262
statusCode: HttpStatus.OK.value(),
6363
resp: [[
@@ -174,7 +174,7 @@ class SpeciesListServiceSpec extends Specification implements ServiceUnitTest<Sp
174174
given:
175175
def listId = "dr123"
176176
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"]
178178

179179
when:
180180
def result = service.speciesListItemsUsingV1(listId, params.pageSize, params.page, params.q)

0 commit comments

Comments
 (0)