Skip to content

Commit

Permalink
remote-mediawiki tests: use the login/password variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
avar authored and gitster committed Sep 21, 2020
1 parent e35973b commit 5e87dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ test_git_reimport () {

# Don't bother with permissions, be administrator by default
test_expect_success 'setup config' '
git config --global remote.origin.mwLogin WikiAdmin &&
git config --global remote.origin.mwPassword AdminPass &&
git config --global remote.origin.mwLogin "$WIKI_ADMIN" &&
git config --global remote.origin.mwPassword "$WIKI_PASSW" &&
test_might_fail git config --global --unset remote.origin.mediaImport
'

Expand Down

0 comments on commit 5e87dce

Please sign in to comment.