Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Sep 8, 2024
1 parent dde7591 commit 5b69e43
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .vortex/tests/bats/_helper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,8 @@ prepare_local_repo() {
fi

git_init 0 "${dir}"
[ "$(git config --global user.name)" = "" ] && echo "Configuring global git user name." && git config --global user.name "Some User"
[ "$(git config --global user.email)" = "" ] && echo "Configuring global git user email." && git config --global user.email "[email protected]"
[ "$(git config --global user.name)" = "" ] && echo "Configuring global test git user name." && git config --global user.name "Some User"
[ "$(git config --global user.email)" = "" ] && echo "Configuring global test git user email." && git config --global user.email "[email protected]"
commit=$(git_add_all_commit "Initial commit" "${dir}")

echo "${commit}"
Expand Down
4 changes: 2 additions & 2 deletions .vortex/tests/test.common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ TEST_DIR="${ROOT_DIR}/.vortex/tests"
# ------------------------------------------------------------------------------

# Configure git username and email if it is not set.
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global git user email" && git config --global user.email "[email protected]"
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global test git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global test git user email" && git config --global user.email "[email protected]"

# Create stub of local framework.
docker network create amazeeio-network 2>/dev/null || true
Expand Down
4 changes: 2 additions & 2 deletions .vortex/tests/test.deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ TEST_DIR="${ROOT_DIR}/.vortex/tests"
# ------------------------------------------------------------------------------

# Configure git username and email if it is not set.
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global git user email" && git config --global user.email "[email protected]"
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global test git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global test git user email" && git config --global user.email "[email protected]"

# Create stub of local framework.
docker network create amazeeio-network 2>/dev/null || true
Expand Down
4 changes: 2 additions & 2 deletions .vortex/tests/test.workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ TEST_DIR="${ROOT_DIR}/.vortex/tests"
# ------------------------------------------------------------------------------

# Configure git username and email if it is not set.
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global git user email" && git config --global user.email "[email protected]"
[ "$(git config --global user.name)" = "" ] && echo "==> Configuring global test git user name" && git config --global user.name "Test user"
[ "$(git config --global user.email)" = "" ] && echo "==> Configuring global test git user email" && git config --global user.email "[email protected]"

# Create stub of local framework.
docker network create amazeeio-network 2>/dev/null || true
Expand Down

0 comments on commit 5b69e43

Please sign in to comment.