Verified Commit 21b84efe authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3504204 by murz: Nightwatch command drupalInstall doesn't set the...

Issue #3504204 by murz: Nightwatch command drupalInstall doesn't set the user_agent environment variable with the simpletest site instance

(cherry picked from commit 14d9ea36)
parent 744d7e6c
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -51,6 +51,9 @@ exports.command = function drupalInstall(
      path: url.pathname,
      domain: url.host,
    });
    // 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);
  }