Skip to content

Commit 80e67a3

Browse files
committed
tests: Fix share API call
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 6fd7989 commit 80e67a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ jobs:
801801
run: |
802802
OC_PASS=test ./occ user:add --password-from-env -- test
803803
# share developer_manual to test user
804-
curl -X POST -u 'test:test' -H 'OCS-APIRequest: true' http://localhost:8080/ocs/v2.php/apps/files_sharing/api/v1/shares?shareType=0&shareWith=test&path=admin/files/developer_manual
804+
curl -X POST -u 'admin:admin' -H 'OCS-APIRequest: true' 'http://localhost:8080/ocs/v2.php/apps/files_sharing/api/v1/shares?shareType=0&shareWith=test&path=developer_manual'
805805
806806
- name: Run indexer cron
807807
run: |
@@ -826,7 +826,7 @@ jobs:
826826
OUT2=$(./occ context_chat:prompt test "Welche Faktoren beeinflussen das Ethical AI Rating?")
827827
OUT3=$(./occ context_chat:search test "Welche Faktoren beeinflussen das Ethical AI Rating?")
828828
echo "$OUT1" | grep -q -v "If all of these points are met, we give a Green label." && echo 'Test user does not see AI overview' || exit 1
829-
echo "$OUT2" | grep -q -v "If all of these points are met, we give a Green label." && echo 'Test user does not see AI overview' || exit 1
829+
echo "$OUT2" | grep -q -v "If all of these points are met, we give a Green label." && echo 'Test user does not see AI overview, after german question' || exit 1
830830
echo "$OUT3" | grep -q -v "overview.rst" && echo 'Test user does not see AI overview' || exit 1
831831
832832
OUT1=$(./occ context_chat:prompt test "How do I set my TimedJob to be time insensitive?")

0 commit comments

Comments
 (0)