Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding user account test
Jim Van Fleet committed Aug 31, 2016
1 parent 055a388 commit 61602d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/running.bats
@@ -10,4 +10,8 @@ load ../common

@test "Creates root account and database" {
docker exec -i $imagename mysql -u root --password="123321" -e 'show tables' registry
}

@test "Creates user account with password" {
docker exec -i $imagename mysql -u registry_user --password="WJzesbe3poNZ91qIbmR7" -e 'show tables' registry
}

0 comments on commit 61602d7

Please sign in to comment.