Skip to content

Commit

Permalink
Add demo/grouper tests
Browse files Browse the repository at this point in the history
Although the tests are quite advanced, they are not really complete yet.
Most notably, group membership update in LDAP is not checked now.
We should include running Trigger Scanner in these tests eventually.
  • Loading branch information
mederly committed Nov 6, 2019
1 parent 1fd97ef commit f5d5e63
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 167 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pipeline {
sh '(cd demo/simple ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/shibboleth ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/postgresql ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
//sh '(cd demo/complex ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/grouper ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
} catch (error) {
def error_details = readFile('./debug')
def message = "BUILD ERROR: There was a problem testing ${imagename}:${tag}. \n\n ${error_details}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->

<objectTemplate xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" oid="8098b124-c20c-4965-8adf-e528abedf7a4">
<name>User Template</name>
<name>template-user</name>
<mapping>
<strength>strong</strength>
<source>
Expand Down
Loading

0 comments on commit f5d5e63

Please sign in to comment.