-
Notifications
You must be signed in to change notification settings - Fork 671
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
MF-995 - Add Twins tests for endpoint list twins and list states #1174
Conversation
4918318
to
174d4c1
Compare
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
9c2b9eb
to
f8ad5f8
Compare
55532a3
to
91a1c1c
Compare
Codecov Report
@@ Coverage Diff @@
## master #1174 +/- ##
==========================================
+ Coverage 74.71% 77.26% +2.55%
==========================================
Files 102 102
Lines 6854 6814 -40
==========================================
+ Hits 5121 5265 +144
+ Misses 1378 1181 -197
- Partials 355 368 +13
Continue to review full report at Codecov.
|
91a1c1c
to
7d7c5d5
Compare
Signed-off-by: Darko Draskovic <[email protected]>
… and update Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
9c920c6
to
bdabc87
Compare
bdabc87
to
2389017
Compare
Signed-off-by: Darko Draskovic <[email protected]>
2389017
to
41ca3e4
Compare
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
Signed-off-by: Darko Draskovic <[email protected]>
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
* Add ListTwins test Signed-off-by: Darko Draskovic <[email protected]> * Remove monotonic time from twins, definitions and attributes creation and update Signed-off-by: Darko Draskovic <[email protected]> * Separate twins and states endpoint tests in two files Signed-off-by: Darko Draskovic <[email protected]> * Add state generation helper funcs to state endpoint tests Signed-off-by: Darko Draskovic <[email protected]> * Add createStateResponse() to states test Signed-off-by: Darko Draskovic <[email protected]> * Add states test cases Signed-off-by: Darko Draskovic <[email protected]> * Simplify RetrieveAll twins and states methods Signed-off-by: Darko Draskovic <[email protected]> * Add service.go to mocks Signed-off-by: Darko Draskovic <[email protected]> * Rename mocks.NewService to mocks.New Signed-off-by: Darko Draskovic <[email protected]> * Add error checking to endpoint state tests Signed-off-by: Darko Draskovic <[email protected]> * Fix method comment Signed-off-by: Darko Draskovic <[email protected]> * Add json response decode success check Signed-off-by: Darko Draskovic <[email protected]> * Remove created and updated fields from twin and state res Signed-off-by: Darko Draskovic <[email protected]> * Remove definition fields from twin req and res Signed-off-by: Darko Draskovic <[email protected]> * Add Create funcs to mocks package Signed-off-by: Darko Draskovic <[email protected]> * Add service save state tests Signed-off-by: Darko Draskovic <[email protected]> * Add service list states test Signed-off-by: Darko Draskovic <[email protected]>
Partially resolves #995