diff --git a/tests/phpunit/tests/basic.php b/tests/phpunit/tests/basic.php index 6941c91e44..47b807d241 100644 --- a/tests/phpunit/tests/basic.php +++ b/tests/phpunit/tests/basic.php @@ -46,8 +46,6 @@ class Tests_Basic extends WP_UnitTestCase { function test_package_json_node_engine( $package_json ) { $this->assertArrayHasKey( 'engines', $package_json ); $this->assertArrayHasKey( 'node', $package_json['engines'] ); - $node = $package_json['engines']['node']; - $this->assertRegExp( '~^=?\d+\.\d+\.\d+$~', $node, "package.json's node version cannot be a range." ); } // Test some helper utility functions.