From 61602d70c2ba4ce0e83e3e75e261ee6e61b5cc49 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 31 Aug 2016 11:13:50 -0400 Subject: [PATCH] Adding user account test --- tests/running.bats | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/running.bats b/tests/running.bats index 0263d88..78075be 100644 --- a/tests/running.bats +++ b/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 } \ No newline at end of file