-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1081 from jianghaolu/graph
A bit of clean up in graph
- Loading branch information
Showing
6 changed files
with
50 additions
and
53 deletions.
There are no files selected for viewing
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
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
35 changes: 0 additions & 35 deletions
35
...t-graph-rbac/src/main/test/java/com/microsoft/azure/management/graphrbac/GroupsTests.java
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -31,11 +31,13 @@ public void canCRUDUser() throws Exception { | |
//LIST | ||
List<User> userList = graphRbacManager.users().list(); | ||
Assert.assertNotNull(userList); | ||
User user = graphRbacManager.users().define("[email protected]") | ||
User user = graphRbacManager.users().define("newuser") | ||
.withDisplayName("Test User 309") | ||
.withPassword("Pa$$w0rd") | ||
.withMailNickname("") | ||
.withMailNickname(null) | ||
.create(); | ||
Assert.assertNotNull(user); | ||
Assert.assertEquals("Test User 309", user.displayName()); | ||
} | ||
|
||
} |