Skip to content

Commit

Permalink
fix setup for litmus test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christofas committed Jan 11, 2023
1 parent e487faf commit 59aca85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/config/drone/setup-for-litmus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHARE_ENDPOINT="ocs/v2.php/apps/files_sharing/api/v1/shares"
# envs
ENV="SPACE_ID="
# get space id
SPACE_ID=$(curl -ks -uadmin:admin "${TEST_SERVER_URL}/graph/v1.0/me/drives" | grep -Po '(?<="webDavUrl":").*?(?="})' | cut -d"/" -f6 | sed "s/\\$/\\\\$/g")
SPACE_ID=$(curl -ks -uadmin:admin "${TEST_SERVER_URL}/graph/v1.0/me/drives" | jq -r '.value[] | select(.driveType == "personal") | .root.webDavUrl' | cut -d '/' -f 6)
ENV+=${SPACE_ID}

# create a folder
Expand Down

0 comments on commit 59aca85

Please sign in to comment.