Verified Commit 78e726c8 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 791779e2
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
  }