Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisLainez committed Apr 26, 2024
1 parent e19205d commit 849ead1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TaskClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -66,7 +66,7 @@ class TaskClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -92,7 +92,7 @@ class TaskClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -118,7 +118,7 @@ class TaskClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class WorkflowClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -67,7 +67,7 @@ class WorkflowClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -93,7 +93,7 @@ class WorkflowClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand All @@ -119,7 +119,7 @@ class WorkflowClientSpec extends ClientSpecification {

then:
1 * requestHandler.get(uri) >> Mock(ClientResponse.class) {
getEntity(_) >> result
readEntity(_) >> result
}

searchResult.totalHits == result.totalHits
Expand Down

0 comments on commit 849ead1

Please sign in to comment.