Skip to content

Commit

Permalink
Download core cron tests as part of install process.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Oct 25, 2018
1 parent 7e66913 commit f49824f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
9 changes: 9 additions & 0 deletions tests/install-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ install_db() {
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA
}

# Download and copy the WordPress Core Cron
# tests for Cavalcade to ensure the plugin does
# not change the behaviour.
install_core_cron_tests() {
download https://develop.svn.wordpress.org/${WP_TESTS_TAG}/tests/phpunit/tests/cron.php "$TRAVIS_BUILD_DIR"/tests/class-wp-core-cron.php
}


install_wp
install_test_suite
install_db
install_core_cron_tests
18 changes: 0 additions & 18 deletions tests/tests/class-core.php

This file was deleted.

0 comments on commit f49824f

Please sign in to comment.