diff --git a/includes/tests/codeception.yml b/includes/tests/codeception.yml index 4ba3809c7c0ddcbbca6c8f7e6c98f195b5d1ce1b..5a44e7ad14b20a2afc48de65f5dad8bce63cb24d 100644 --- a/includes/tests/codeception.yml +++ b/includes/tests/codeception.yml @@ -84,18 +84,6 @@ - chmod -R a+w ${APACHE_DOCUMENT_ROOT}/wp-content/uploads - touch ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log - chmod a+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log - - | - if [ -f ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql ]; then - # Always ensure the database is up to date - set -x - cd "$APACHE_DOCUMENT_ROOT" - wp db import ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql - wp core update-db - wp wc update || true - wp db export ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql - cd ${CI_PROJECT_DIR} - set +x - fi - echo "End before" - cd ${CI_PROJECT_DIR} script: