File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
github-actions-tests/tools Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ mamonsu bootstrap -x -U postgres -d test_db
116
116
# check
117
117
check_db_objects mamonsu test_db
118
118
119
- echo && echo " ------> mamonsu bootstrap -x -U test_superuser"
119
+ echo && echo " ------> mamonsu bootstrap -x -U test_superuser -d test_superuser "
120
120
# prepare
121
121
pg_drop_user mamonsu
122
122
pg_drop_database test_db
@@ -125,21 +125,25 @@ pg_drop_database test_superuser
125
125
$PSQL -c " CREATE USER test_superuser SUPERUSER"
126
126
$PSQL -c " CREATE DATABASE test_superuser OWNER test_superuser"
127
127
# test
128
- mamonsu bootstrap -x -U test_superuser
128
+ mamonsu bootstrap -x -U test_superuser -d test_superuser
129
129
# check
130
130
check_db_objects mamonsu test_superuser
131
131
132
- echo && echo " ------>mamonsu bootstrap -x -U test_superuser -h localhost -p 5432"
132
+ echo && echo " ------>mamonsu bootstrap -x -U test_superuser -d test_superuser - h localhost -p 5432"
133
133
# prepare
134
134
pg_drop_user mamonsu
135
135
pg_drop_user test_superuser
136
136
pg_drop_database test_superuser
137
137
$PSQL -c " CREATE USER test_superuser SUPERUSER"
138
138
$PSQL -c " CREATE DATABASE test_superuser OWNER test_superuser"
139
139
# test
140
- mamonsu bootstrap -x -U test_superuser -h localhost -p 5432
140
+ mamonsu bootstrap -x -U test_superuser -d test_superuser - h localhost -p 5432
141
141
# check
142
142
check_db_objects mamonsu test_superuser
143
+ # drop
144
+ pg_drop_user mamonsu
145
+ pg_drop_user test_superuser
146
+ pg_drop_database test_superuser
143
147
144
148
# bootstrap for other tests
145
149
mamonsu bootstrap -x -U postgres -d mamonsu_test_db
You can’t perform that action at this time.
0 commit comments