Skip to content

Commit

Permalink
Revert to bootstrapper from wp-dev-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pierlon committed Oct 22, 2019
1 parent 0d07c94 commit 7149afa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
1 change: 1 addition & 0 deletions .dev-lib
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ PROJECT_SLUG=amp
README_MD_TITLE="AMP Plugin for WordPress"
DEV_LIB_SKIP="$DEV_LIB_SKIP,jshint"
CHECK_SCOPE=all
PLUGIN_FILE="$(pwd)/amp.php"

function after_wp_install {
if [[ "$WP_VERSION" != "4.9" ]]; then
Expand Down
3 changes: 2 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<phpunit
bootstrap="tests/php/bootstrap.php"
bootstrap="vendor/xwp/wp-dev-lib/sample-config/phpunit-plugin-bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
Expand All @@ -8,6 +8,7 @@
>
<php>
<const name="WP_TEST_ACTIVATED_PLUGINS" value="jetpack/jetpack.php,gutenberg/gutenberg.php,pwa/pwa.php" />
<env name="PLUGIN_FILE" value="amp.php" />
</php>
<testsuites>
<!-- Default test suite to run all tests -->
Expand Down
20 changes: 0 additions & 20 deletions tests/php/bootstrap.php

This file was deleted.

0 comments on commit 7149afa

Please sign in to comment.