Skip to content

Commit 2dd4ef5

Browse files
authored
Minor fix in wopi-validator.md
1 parent 3c09158 commit 2dd4ef5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/wopi-validator.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ These notes have been adaped from the enterprise ownCloud WOPI implementation, c
44

55
1. Setup your WOPI server as well as Reva as required. Make sure the WOPI storage interface unit tests pass.
66

7-
2. Create an empty folder and touch an file named `test.wopitest` in that folder. For a local Reva setup:
7+
2. Create an empty folder and touch a file named `test.wopitest` in that folder. For a local Reva setup:
88

99
`mkdir /var/tmp/reva/data/einstein/wopivalidator && touch /var/tmp/reva/data/einstein/wopivalidator/test.wopitest`.
1010

@@ -14,6 +14,8 @@ These notes have been adaped from the enterprise ownCloud WOPI implementation, c
1414

1515
`curl -H "Authorization: Bearer <wopisecret>" "http://your_wopi_server:port/wopi/iop/test?filepath=<your_file>&endpoint=<your_storage_endpoint>&usertoken=<your_user_credentials_or_id>"`
1616

17-
5. Run the testsuite (you can select a specific test group passing as well e.g. `-e WOPI_TESTGROUP=FileVersion`):
17+
5. Run the testsuite:
1818

1919
`docker run --rm --add-host="localhost:<your_external_wopiserver_IP>" <output from step 4> deepdiver/wopi-validator-core-docker:latest`
20+
21+
If you want to select a specific test group, add `-e WOPI_TESTGROUP=<group>` (e.g. `-e WOPI_TESTGROUP=FileVersion`) to the above command.

0 commit comments

Comments
 (0)