Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanarpit committed Aug 20, 2020
2 parents b87d952 + 27511c9 commit f93619a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ public void createNewUserValid() {
assertThat(user.getName()).isEqualTo("new-user-email@email.com");
assertThat(user.getPolicies()).isNotEmpty();
assertThat(user.getPolicies()).containsAll(Set.of(manageUserPolicy, manageUserOrgPolicy, readUserPolicy, readUserOrgPolicy));
assertThat(user.getOrganizationIds()).isNotNull();
assertThat(user.getOrganizationIds().size()).isEqualTo(1);
// Since there is a template organization, the user won't have an empty personal organization. They
// will get a clone of the personal organization when they first login. So, we expect it to be
// empty here.
assertThat(user.getOrganizationIds()).isNullOrEmpty();
})
.verifyComplete();
}
Expand Down

0 comments on commit f93619a

Please sign in to comment.