Skip to content

Commit 36d6552

Browse files
committed
test: use non-admin user
Signed-off-by: Jana Peper <[email protected]>
1 parent 0cf476f commit 36d6552

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/integration_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ jobs:
123123
sleep 25
124124
mkdir data
125125
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$PGSQL_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
126+
export OC_PASS='alice'
127+
./occ user:add --password-from-env alice
126128
composer run serve &
127129

128130
- name: Checkout app_api
@@ -190,7 +192,7 @@ jobs:
190192

191193
- name: Run task
192194
env:
193-
CREDS: "admin:password"
195+
CREDS: "alice:alice"
194196
run: |
195197
sleep 300
196198
TASK=$(curl -X POST -u "$CREDS" -H "oCS-APIRequest: true" -H "Content-type: application/json" http://localhost:8080/ocs/v2.php/taskprocessing/schedule?format=json --data-raw '{"input": {"input": "What are the coordinates of Berlin, Germany?", "confirmation":1, "conversation_token": ""},"type":"core:contextagent:interaction", "appId": "test", "customId": ""}')

0 commit comments

Comments
 (0)