Skip to content
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

Merged
merged 5 commits into from
Apr 5, 2024

Conversation

felixgateru
Copy link
Contributor

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

@arvindh123 arvindh123 added this to the S1 milestone Apr 3, 2024
@dborovcanin dborovcanin force-pushed the NOISSUE_groups_tests branch from a0f6477 to fd4cb3a Compare April 3, 2024 12:15
@dborovcanin dborovcanin modified the milestones: S1, S2 Apr 3, 2024
@felixgateru felixgateru force-pushed the NOISSUE_groups_tests branch from fd4cb3a to 092f50e Compare April 3, 2024 13:48
@felixgateru felixgateru marked this pull request as ready for review April 3, 2024 13:54
things/api/http/endpoints_test.go Outdated Show resolved Hide resolved
things/api/http/endpoints_test.go Outdated Show resolved Hide resolved
things/api/http/endpoints_test.go Outdated Show resolved Hide resolved
things/api/http/endpoints_test.go Outdated Show resolved Hide resolved
things/api/http/endpoints_test.go Outdated Show resolved Hide resolved
@WashingtonKK WashingtonKK force-pushed the NOISSUE_groups_tests branch from 092f50e to f525bb9 Compare April 4, 2024 09:08
@felixgateru felixgateru force-pushed the NOISSUE_groups_tests branch from f525bb9 to f77dee9 Compare April 4, 2024 10:08
rodneyosodo
rodneyosodo previously approved these changes Apr 4, 2024
Copy link
Member

@rodneyosodo rodneyosodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

err error
}{
{
desc: "unassign users to group successfully",
Copy link
Collaborator

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

Copy link
Collaborator

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.

err error
}{
{
desc: "assign groups to group successfully",
Copy link
Collaborator

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

Copy link
Collaborator

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.

@dborovcanin dborovcanin merged commit 9b188b4 into absmach:main Apr 5, 2024
6 checks passed
JeffMboya pushed a commit to JeffMboya/supermq that referenced this pull request Apr 7, 2024
JeffMboya pushed a commit to JeffMboya/supermq that referenced this pull request Apr 10, 2024
JeffMboya pushed a commit to JeffMboya/supermq that referenced this pull request Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants