Skip to content

Commit

Permalink
Merge branch 'trunk' into update/webfinger-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland authored Jan 9, 2025
2 parents 42e7690 + 2cbdfb8 commit 049a6a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"WP_SITEURL": "http://example.org",
"WP_HOME": "http://example.org"
},
"port": 80,
"mappings": {
"wp-content/plugins/activitypub": ".",
"wp-content/plugins/activitypub/tests": "./tests"
Expand Down
5 changes: 0 additions & 5 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

\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' );

\define( 'AP_TESTS_DIR', __DIR__ );
$_tests_dir = \getenv( 'WP_TESTS_DIR' );

Expand Down

0 comments on commit 049a6a1

Please sign in to comment.