Disable WordPress core autoupdate in acceptance tests
The auto-update process collides with test bootstrap resulting in random errors. [MAILPOET-3475]
This commit is contained in:
committed by
Jan Lysý
parent
4a6e85bb04
commit
2566ebb13c
@ -25,6 +25,8 @@ chown www-data:www-data wp-content/uploads
|
|||||||
chmod 755 wp-content/plugins
|
chmod 755 wp-content/plugins
|
||||||
chmod -R 777 wp-content/uploads
|
chmod -R 777 wp-content/uploads
|
||||||
|
|
||||||
|
# disable automatic updates
|
||||||
|
wp config set WP_AUTO_UPDATE_CORE false --raw
|
||||||
|
|
||||||
# cleanup database
|
# cleanup database
|
||||||
mysqladmin --host=mysql --user=root --password=wordpress drop wordpress --force
|
mysqladmin --host=mysql --user=root --password=wordpress drop wordpress --force
|
||||||
|
Reference in New Issue
Block a user