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 7dc5676 commit e368b26Copy full SHA for e368b26
tests/tests/TestBehatTags.php
@@ -198,7 +198,12 @@ public function test_behat_tags_db_version(): void {
198
$db_type = getenv( 'WP_CLI_TEST_DBTYPE' );
199
200
$behat_tags = dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php';
201
+
202
+ // Just to get the get_db_version() function.
203
+ ob_start();
204
require $behat_tags;
205
+ ob_end_clean();
206
207
// @phpstan-ignore-next-line
208
$db_version = get_db_version();
209
$minimum_db_version = $db_version . '.1';
0 commit comments