Skip to content
Snippets Groups Projects

Issue #3504204: Set the HTTP_USER_AGENT environment variable by the Simpletest user agent

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -50,6 +50,9 @@ exports.command = function drupalInstall(
value: encodeURIComponent(installData.user_agent),
path: url.pathname,
});
// Set the HTTP_USER_AGENT environment variable to detect the test
// environment in the command line.
process.env.HTTP_USER_AGENT = installData.user_agent;
} catch (error) {
this.assert.fail(error);
}
Loading