Skip to content

Commit

Permalink
Unnecessary var
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jan 22, 2024
1 parent e101132 commit a9d639c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@

require_once \dirname( __DIR__ ) . '/vendor/yoast/wp-test-utils/src/WPIntegration/bootstrap-functions.php';

// Determine the WP_TEST_DIR.
$yoast_comment_tests_dir = WPIntegration\get_path_to_wp_test_dir();

// Give access to tests_add_filter() function.
require_once \rtrim( $yoast_comment_tests_dir, '/' ) . '/includes/functions.php';
require_once \rtrim( WPIntegration\get_path_to_wp_test_dir(), '/' ) . '/includes/functions.php';

/**
* Manually load the plugin being tested.
Expand Down

0 comments on commit a9d639c

Please sign in to comment.