Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatches in /ocm-provider/ contents #20

Open
michielbdejong opened this issue Aug 10, 2020 · 0 comments
Open

Mismatches in /ocm-provider/ contents #20

michielbdejong opened this issue Aug 10, 2020 · 0 comments

Comments

@michielbdejong
Copy link
Member

There's a slight difference between the /ocm-provider/ JSON from Nextcloud and from ownCloud. This is the one from ownCloud, compared to the one from Nextcloud:

cd ./testers/open-cloud-mesh/tester
npm install
SERVER_ROOT=https://demo.owncloud.org npm run jest

> [email protected] jest /Users/michiel/gh/pdsinterop/test-suites/testers/open-cloud-mesh/tester
> jest

 FAIL  test/surface/discovery.test.ts
  ● Discovery at /ocm-provider/ › contains service description

    expect(received).toEqual(expected) // deep equality

    - Expected  - 6
    + Received  + 2

      Object {
        "apiVersion": "1.0-proposal1",
        "enabled": true,
    -   "endPoint": "https://localhost/ocm",
    -   "resourceTypes": Array [
    +   "endPoint": "https://demo.owncloud.org/apps/federatedfilesharing",
    +   "shareTypes": Array [
          Object {
            "name": "file",
            "protocols": Object {
              "webdav": "/public.php/webdav/",
            },
    -       "shareTypes": Array [
    -         "user",
    -         "group",
    -       ],
          },
        ],
      }
@michielbdejong michielbdejong changed the title Open Cloud Mesh test suite Mismatches in /ocm-provider/ contents Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant