-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test to cover new CleanUser function
- Loading branch information
1 parent
157383b
commit 653adf9
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
internal/users/testdata/TestCleanUserFromSystemGroups/golden/cleans_up_user_from_group
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--delete myuser localgroup1 |
2 changes: 2 additions & 0 deletions
2
...l/users/testdata/TestCleanUserFromSystemGroups/golden/cleans_up_user_from_multiple_groups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--delete myuser localgroup1 | ||
--delete myuser localgroup2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters