Skip to content

Commit

Permalink
[NOJIRA]
Browse files Browse the repository at this point in the history
clean up test
  • Loading branch information
jj committed Feb 12, 2019
1 parent f4b23e0 commit 4bb2831
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class UserBootstrapTests extends Specification {

def "simple test"() {
setup:
userRepository.deleteAll()
roleRepository.deleteAll()
shibUIConfiguration.userBootstrapResource = new ClassPathResource('/conf/1044.csv')
def userBootstrap = new UserBootstrap(shibUIConfiguration, userRepository, roleRepository)

Expand All @@ -47,6 +49,8 @@ class UserBootstrapTests extends Specification {

def "bootstrap roles"() {
setup:
userRepository.deleteAll()
roleRepository.deleteAll()
shibUIConfiguration.roles = ['ROLE_ADMIN', 'ROLE_USER']
def userbootstrap = new UserBootstrap(shibUIConfiguration, userRepository, roleRepository)

Expand Down

0 comments on commit 4bb2831

Please sign in to comment.