changeset 44716:ed81fa859426

tests: move the phabricator auth token to the global config file The next commit introduces a new repo to simplify its development. This value needs to be modified to record tests, so it doesn't make sense to have to do that twice. The callsign and URL are *not* moved because there are tests that fallback to the .arcconfig file when those aren't present. Differential Revision: https://phab.mercurial-scm.org/D8390
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 08 Apr 2020 17:07:19 -0400
parents 38f7b2f02f6d
children 3dc6a70779f2
files tests/test-phabricator.t
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-phabricator.t	Sun Apr 05 21:19:21 2020 -0400
+++ b/tests/test-phabricator.t	Wed Apr 08 17:07:19 2020 -0400
@@ -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"