-
Notifications
You must be signed in to change notification settings - Fork 8
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
IHRDS 3159 handle bad request body for /users/groups/query #872
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.
Looks great to me. The only nitpick I have is that the test should probably be in the com.iheart.thomas.http4s.abtest
package.
good point, done |
hmm you might have to move the |
I am not sure why it gave an error. locally the test looks ok. |
interesting, when i run that test alone it's ok, when i do sbt validate i got the same error |
I don't know why it passes when you run it alone. But your new test is not in the right folder. It should be in the It folder since it's an integration tests. tests in |
Yes, you are right, i just realized so. my test depends on mongo, so just like you said, it fits more like an it test maybe not unit test. |
Correct. That's the idea
…On Tue, Oct 10, 2023, 2:18 PM Tony ***@***.***> wrote:
Yes, you are right, i just realized so. my test depends on mongo, so just
like you said, it fits more like an it test maybe not unit test.
I think moving the EndpointSuite to src/it/ is the right way to go. what's
your thought?
@kailuowang <https://github.com/kailuowang>
—
Reply to this email directly, view it on GitHub
<#872 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUKOI2BY3YB2QJPPDGHMDX6WGQDAVCNFSM6AAAAAA5WCQ2ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHE4DKOJTHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Summary
Reference
I don't expect to write unit test like this, so I am open to any change.