Prefixes all roles used in test suite with postgrest_test

This commit is contained in:
Diogo Biazus
2015-12-08 12:03:46 -05:00
parent 8b4cb4be6e
commit 4cc0189ac9
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ spec = around dbWithSchema $ do
quickALQuery c "select * from \"1\".items where id = ?" [snd row]
`shouldReturn` [[row]]
let {user = "jdoe"; pass = "secret"; role = "test_default_role"}
let {user = "jdoe"; pass = "secret"; role = "postgrest_test_default_role"}
describe "addUser" $ do
it "adds a correct user to the right table" $ \conn -> do
addUser user pass role conn