remote-mediawiki tests: use the login/password variables
Change a hardcoded user/password for the corresponding variable defined in contrib/mw-to-git/t/test.config. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Sep 21, 2020 at 12:39 UTC
5e87dceae013d8752c0fda0c5a3e90d631109de9
1 file changed
+2
-2
contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
+2
-2
@@ -27,8 +27,8 @@ test_git_reimport () {
27
28
# Don't bother with permissions, be administrator by default
29
test_expect_success 'setup config' '
30
- git config --global remote.origin.mwLogin WikiAdmin &&
31
- git config --global remote.origin.mwPassword AdminPass &&
30
+ git config --global remote.origin.mwLogin "$WIKI_ADMIN" &&
31
+ git config --global remote.origin.mwPassword "$WIKI_PASSW" &&
32
test_might_fail git config --global --unset remote.origin.mediaImport
33
'
34