mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-18 20:37:55 +00:00
Fix CI test output for Adminer Mongo
This commit is contained in:
parent
91da7d3f5b
commit
8666ca68bc
@ -97,7 +97,7 @@ if ! run "\
|
||||
| tac \
|
||||
| grep -Ei 'Database.+Collation.+Tables' >/dev/null" \
|
||||
"${RETRIES}" "" "0"; then
|
||||
printf "\\r[FAIL] Adminer MySQL login\\n"
|
||||
printf "\\r[FAIL] Adminer Mongo login\\n"
|
||||
run "curl -sS -c cookie.txt -b cookie.txt \
|
||||
-L \
|
||||
--data 'auth[driver]=mongo' \
|
||||
@ -105,7 +105,7 @@ if ! run "\
|
||||
--data 'auth[username]=' \
|
||||
--data 'auth[password]=' \
|
||||
--data 'auth[db]=' \
|
||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?server=mysql&username=root|| true'" "1"
|
||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?mongo=mongo&username=|| true'" "1"
|
||||
run "curl -sS -I -c cookie.txt -b cookie.txt \
|
||||
-L \
|
||||
--data 'auth[driver]=mongo' \
|
||||
@ -113,10 +113,10 @@ if ! run "\
|
||||
--data 'auth[username]=' \
|
||||
--data 'auth[password]=' \
|
||||
--data 'auth[db]=' \
|
||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?server=mysql&username=root|| true'" "1"
|
||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?mongo=mongo&username=|| true'" "1"
|
||||
rm -f cookie.txt
|
||||
exit 1
|
||||
else
|
||||
printf "\\r[OK] Adminer MySQL login\\n"
|
||||
printf "\\r[OK] Adminer Mongo login\\n"
|
||||
fi
|
||||
rm -f cookie.txt
|
||||
|
Loading…
Reference in New Issue
Block a user