Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#!/usr/bin/env bats
load ../common
# These tests assume the pipeline will start and stop the container.
@test "Leaves running process" {
result="$(docker ps | grep $imagename)"
[ "$result" != '' ]
}
@test "Creates shibboleth database" {
echo 'select * from version;' | docker exec -i $imagename psql -U postgres $postgres_db
}
@test "Shibboleth user can access shibboleth database" {
echo 'select * from version;' | docker exec -i $imagename psql -U shibboleth $postgres_db
}