diff --git a/.drevops/docs/.utils/tests/bats/docs.bats b/.drevops/docs/.utils/tests/bats/docs.bats index acaeb1387..32a8ba081 100644 --- a/.drevops/docs/.utils/tests/bats/docs.bats +++ b/.drevops/docs/.utils/tests/bats/docs.bats @@ -74,6 +74,8 @@ assert_version() { ls -al "${REMOTE_REPO_DIR}" >&3 + git --git-dir="${REMOTE_REPO_DIR}/.git" --work-tree="${REMOTE_REPO_DIR}" branch >&3 + assert_dir_exists "${REMOTE_REPO_DIR}/${expected_version}" assert_dir_exists "${REMOTE_REPO_DIR}/latest" assert_file_exists "${REMOTE_REPO_DIR}/CNAME"