We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134dddb commit 2cbdfb8Copy full SHA for 2cbdfb8
.wp-env.json
@@ -8,6 +8,7 @@
8
"WP_SITEURL": "http://example.org",
9
"WP_HOME": "http://example.org"
10
},
11
+ "port": 80,
12
"mappings": {
13
"wp-content/plugins/activitypub": ".",
14
"wp-content/plugins/activitypub/tests": "./tests"
tests/bootstrap.php
@@ -7,11 +7,6 @@
7
\define( 'ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS', false );
-// Defined here because setting them in .wp-env.json doesn't work for some reason.
-\define( 'WP_TESTS_DOMAIN', 'example.org' );
-\define( 'WP_SITEURL', 'http://example.org' );
-\define( 'WP_HOME', 'http://example.org' );
-
15
\define( 'AP_TESTS_DIR', __DIR__ );
16
$_tests_dir = \getenv( 'WP_TESTS_DIR' );
17
0 commit comments