diff --git a/composer.json b/composer.json index 52f99d8..32852f8 100644 --- a/composer.json +++ b/composer.json @@ -18,5 +18,12 @@ ], "extra": { "installer-name": "activitypub" + }, + "scripts": { + "test": [ + "composer install", + "bin/install-wp-tests.sh wordpress wordpress wordpress", + "vendor/bin/phpunit" + ] } } diff --git a/tests/test-class-activitypub-hashtag.php b/tests/test-class-activitypub-hashtag.php index 0820100..b26681f 100644 --- a/tests/test-class-activitypub-hashtag.php +++ b/tests/test-class-activitypub-hashtag.php @@ -1,9 +1,5 @@