# HG changeset patch # User Matt Harbison # Date 2020-04-08 21:07:19 # Node ID ed81fa859426288f6679d486eaf15b2e882b062f # Parent 38f7b2f02f6da9d189efc2129d014ca7ff38255d 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 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"