-
Notifications
You must be signed in to change notification settings - Fork 672
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
NOISSUE - Add group tests to users and things service #2133
Conversation
a0f6477
to
fd4cb3a
Compare
fd4cb3a
to
092f50e
Compare
092f50e
to
f525bb9
Compare
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
f525bb9
to
f77dee9
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
things/api/http/endpoints_test.go
Outdated
err error | ||
}{ | ||
{ | ||
desc: "unassign users to group successfully", |
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.
unassign users from a group successfully
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.
Fux other cases, as well.
users/api/endpoint_test.go
Outdated
err error | ||
}{ | ||
{ | ||
desc: "assign groups to group successfully", |
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.
assign group to a parent group successfully
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.
Use assign group to a parent group
instead of assign group to a group
.
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]>
Signed-off-by: 1998-felix <[email protected]> Signed-off-by: JeffMboya <[email protected]>
What type of PR is this?
This is a feature as it adds groups tests to users and things service using the groups service mocks.
What does this do?
This adds groups tests to users and things services.
Which issue(s) does this PR fix/relate to?
None.
Have you included tests for your changes?
No since this is the test file.
Did you document any new/modified feature?
Yes, documentation in in code comments.
Notes