-
Notifications
You must be signed in to change notification settings - Fork 32
V3 missing client user id filter #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1,3 @@ | |||
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add some query parameters for filtering options here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed before this couldnt be done as testing dynamically with query parameters is not feasible in the current mock test setup.
@@ -0,0 +1,22 @@ | |||
package com.hyperwallet.clientsdk.model; | |||
|
|||
import java.util.Date; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls remove this unused import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -1334,7 +1376,7 @@ public void uploadUserDocuments_invalidDocumentStatus() throws Exception { | |||
|
|||
// | |||
// Transfer Refunds | |||
// | |||
//f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
assertThat(userOne.getCreatedOn(), is(equalTo(dateFormat.parse("2019-10-30T22:15:35 UTC")))); | ||
assertThat(userOne.getStatus(), is(equalTo(HyperwalletUser.Status.PRE_ACTIVATED))); | ||
assertThat(userOne.getVerificationStatus(), is(equalTo(HyperwalletUser.VerificationStatus.NOT_REQUIRED))); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add assert statement for the 2nd index as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,80 @@ | |||
package com.hyperwallet.clientsdk.model; | |||
|
|||
import java.util.Date; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls remove this unused import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
mockServer.verify(parseRequest(functionality)); | ||
throw e; | ||
} | ||
assertThat(returnValue.getCount(), is(equalTo(2))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add assert statement for the 2nd index as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls remove all the .DS_store files from this PR.
…element in the users list, deleted .DS_store files
@@ -0,0 +1,78 @@ | |||
package com.hyperwallet.clientsdk.model; | |||
|
|||
public class HyperwalletUsersListPaginationOptions extends HyperwalletPaginationOptions{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: is your formatter turned on? there should be a space between HyperwalletPaginationOptions and {
public void setProgramToken(String programToken) { | ||
this.programToken = programToken; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: redundant newLine
Please verify and approve this PR for the following change: