Patchwork D8390: tests: move the phabricator auth token to the global config file

login
register
mail settings
Submitter phabricator
Date April 16, 2020, 4:42 p.m.
Message ID <81f4b7f8b991865fcf1fc69acc6eca45@localhost.localdomain>
Download mbox | patch
Permalink /patch/46161/
State Not Applicable
Headers show

Comments

phabricator - April 16, 2020, 4:42 p.m.
Closed by commit rHGed81fa859426: tests: move the phabricator auth token to the global config file (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8390?vs=21014&id=21133

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8390/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8390

AFFECTED FILES
  tests/test-phabricator.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers, Alphare
Cc: mercurial-devel

Patch

diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
@@ -3,6 +3,15 @@ 
   > [extensions]
   > phabricator = 
   > 
+  > [auth]
+  > hgphab.schemes = https
+  > hgphab.prefix = phab.mercurial-scm.org
+  > # When working on the extension and making phabricator interaction
+  > # changes, edit this to be a real phabricator token. When done, edit
+  > # it back. The VCR transcripts will be auto-sanitised to replace your real
+  > # token with this value.
+  > hgphab.phabtoken = cli-hahayouwish
+  > 
   > [phabricator]
   > debug = True
   > EOF
@@ -12,15 +21,6 @@ 
   > [phabricator]
   > url = https://phab.mercurial-scm.org/
   > callsign = HG
-  > 
-  > [auth]
-  > hgphab.schemes = https
-  > hgphab.prefix = phab.mercurial-scm.org
-  > # When working on the extension and making phabricator interaction
-  > # changes, edit this to be a real phabricator token. When done, edit
-  > # it back. The VCR transcripts will be auto-sanitised to replace your real
-  > # token with this value.
-  > hgphab.phabtoken = cli-hahayouwish
   > EOF
   $ VCR="$TESTDIR/phabricator"