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
--- 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"