-
Notifications
You must be signed in to change notification settings - Fork 230
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
added a SampleHumanServicesTest class #1311
base: develop
Are you sure you want to change the base?
added a SampleHumanServicesTest class #1311
Conversation
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.
LGTM if you fix the comment below
Thanks @josephbate
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Show resolved
Hide resolved
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.
@josephbate this looks good,
just a few minor suggestions below:
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
|
||
Sample samp = new Sample(); | ||
samp.setEnteredDate(enteredDate); | ||
samp.setReceivedTimestamp(doc); |
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.
samp.setReceivedTimestamp(doc); | |
samp.setReceivedTimestamp(new Timestamp(new SimpleDateFormat("dd/MM/yyyy").parse(SAMPLE_RECEIVED_TIMESTAMP).getTime())); |
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/openelisglobal/samplehuman/SampleHumanServiceTest.java
Outdated
Show resolved
Hide resolved
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.
Thanks @josephbate , LGTM
cc: @mozzy11
Pull Requests Requirements
Issue number if applicable.
documentation.
Summary
added a SampleHumanServicesTest class
Screenshots
[Add relevant screenshots here if applicable]
Related Issue
[Add a link to the related issue or mention it here if applicable]
Other
[Add any additional information or notes here]