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(decodedCanonicalHarnessCode.includes('putenv("TC_MYSQL_PORT=3306");'),"runtime service environment is passed to the PHP executed by wordpress.phpunit")
571
-
assert.ok(decodedCanonicalHarnessCode.indexOf('putenv("TC_MYSQL_PORT=3306");')<decodedCanonicalHarnessCode.indexOf("require_once '/wordpress/wp-load.php';"),"runtime environment is available to project bootstrap code")
627
+
assert.ok(!decodedCanonicalHarnessCode.includes("require_once '/wordpress/wp-load.php';"),"PHPUnit must own WordPress bootstrap so managed multisite constants are established first")
assert.ok(managedModeCode.includes("global $argv, $pg_stage_output_buffering, $wp_rewrite;"),"managed WordPress installation must expose the rewrite global required by multisite setup")
728
+
assert.ok(managedModeCode.includes("foreach ($multisite_defines as $name => $value)"),"managed multisite must establish network constants before the WordPress test installer runs")
670
729
assert.ok(managedModeCode.includes('$dep_mounts = "/wordpress/wp-content/plugins/demo-plugin\\n/wordpress/wp-content/plugins/dependency";'),"dependency mounts must be newline-delimited for the generated PHP runner")
@@ -711,6 +770,14 @@ assert.deepEqual((multisiteRecipe.runtime.blueprint as { steps: unknown[] }).ste
711
770
assert.equal(multisiteRecipe.runtime.preview?.siteUrl,"http://localhost","multisite PHPUnit recipes need a canonical site URL without the dynamic Playground port")
assert.deepEqual((externalMysqlMultisiteRecipe.runtime.blueprintas{steps: unknown[]}).steps,[],"external MySQL must boot single-site until the managed PHPUnit installer creates network tables")
779
+
assert.ok(externalMysqlMultisiteRecipe.workflow.steps[0].args.includes("multisite=1"),"managed PHPUnit still receives the declared multisite contract")
0 commit comments