You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.ok(capturedCanonicalHarnessCode.includes('putenv("TC_MYSQL_PORT=3306");'),"runtime service environment is passed to the PHP executed by wordpress.phpunit")
355
+
assert.ok(capturedCanonicalHarnessCode.indexOf('putenv("TC_MYSQL_PORT=3306");')<capturedCanonicalHarnessCode.indexOf("require_once '/wordpress/wp-load.php';"),"runtime environment is available to project bootstrap code")
assert.equal((capturedExplicitCode.match(/declare\(strict_types=1\);/g)??[]).length,1,"explicit PHP is normalized once at the runtime bootstrap boundary")
373
+
assert.ok(capturedExplicitCode.includes("echo getenv('TC_MYSQL_PORT');"),"explicit PHPUnit code receives the same runtime bootstrap")
374
+
assert.ok(capturedExplicitCode.indexOf('putenv("TC_MYSQL_PORT=3306");')<capturedExplicitCode.lastIndexOf("TC_MYSQL_PORT"),"explicit env-json handling remains after runtime environment bootstrap")
0 commit comments