Skip to content

Commit

Permalink
BUGS-6563: group > filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wagner committed Sep 26, 2023
1 parent 1865cdc commit c9b3519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ jobs:
name: "Run Tests"
command: |
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest
composer phpunit --filter=test_database_created
composer phpunit --group db_create
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest true
WP_MULTISITE=1 composer phpunit --filter=test_database_created
WP_MULTISITE=1 composer phpunit --group db_create
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest true
composer phpunit --filter=test_database_created
composer phpunit --group db_create
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 nightly true
composer phpunit --filter=test_database_created
composer phpunit --group db_create
2 changes: 2 additions & 0 deletions tests/phpunit/test-init-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public function test_plugin_loaded() {

/**
* Ensures the database is created when the test suite runs.
*
* @group db_create
*/
public function test_database_created() {
global $wpdb, $table_prefix;
Expand Down

0 comments on commit c9b3519

Please sign in to comment.