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

Check if quota should be applied to path when creating directories #22657

Merged
merged 3 commits into from
Sep 9, 2020

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Sep 8, 2020

This fixes an issue where the files_trashbin hierarchy of a user could not been created as the mkdir operations were blocked by the quota storage wrapper. Even with 0 quota, users should be able to have a trashbin for external storages.

Steps to reproduce:

  • Having LDAP setup (with object storage, but shouldn't matter much)
  • occ config:app:set user_ldap s01ldap_quota_def --value="0"
  • Mount an external storage to all users
  • Login as a new user
  • Try to delete a file

Before:
💥 The file gets deleted but with a parent id of -1 in the filecache

After:
✔️ The files_trashbin/files/ hierarchy gets added to the filecache and the file is properly visible in the trashbin

This fixes an issue where the files_trashbin hierarchy of a user could
not been created as the mkdir operations were blocked by the quota
storage wrapper. Even with 0 quota, users should be able to have a
trashbin for external storages.

Signed-off-by: Julius Härtl <[email protected]>
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Sep 8, 2020
@juliusknorr juliusknorr added this to the Nextcloud 20 milestone Sep 8, 2020
@juliusknorr
Copy link
Member Author

juliusknorr commented Sep 8, 2020

  • Need to check for:
  1. Test\Files\Storage\Wrapper\QuotaTest::testNoMkdirQuotaZero
    Failed asserting that true is false.
    /drone/src/tests/lib/Files/Storage/Wrapper/QuotaTest.php:214

@rullzer rullzer mentioned this pull request Sep 8, 2020
13 tasks
@faily-bot
Copy link

faily-bot bot commented Sep 8, 2020

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 32854: failure

integration-sharing-v1-video-verification

  • build/integration/sharing_features/sharing-v1-video-verification.feature:8
  • build/integration/sharing_features/sharing-v1-video-verification.feature:20
  • build/integration/sharing_features/sharing-v1-video-verification.feature:33
  • build/integration/sharing_features/sharing-v1-video-verification.feature:47
  • build/integration/sharing_features/sharing-v1-video-verification.feature:62
  • build/integration/sharing_features/sharing-v1-video-verification.feature:76
  • build/integration/sharing_features/sharing-v1-video-verification.feature:91
  • build/integration/sharing_features/sharing-v1-video-verification.feature:104
  • build/integration/sharing_features/sharing-v1-video-verification.feature:118
  • build/integration/sharing_features/sharing-v1-video-verification.feature:130
  • build/integration/sharing_features/sharing-v1-video-verification.feature:145
  • build/integration/sharing_features/sharing-v1-video-verification.feature:176
  • build/integration/sharing_features/sharing-v1-video-verification.feature:209
  • build/integration/sharing_features/sharing-v1-video-verification.feature:246
  • build/integration/sharing_features/sharing-v1-video-verification.feature:260
  • build/integration/sharing_features/sharing-v1-video-verification.feature:275
  • build/integration/sharing_features/sharing-v1-video-verification.feature:291
  • build/integration/sharing_features/sharing-v1-video-verification.feature:308
  • build/integration/sharing_features/sharing-v1-video-verification.feature:324
  • build/integration/sharing_features/sharing-v1-video-verification.feature:341
  • build/integration/sharing_features/sharing-v1-video-verification.feature:356
  • build/integration/sharing_features/sharing-v1-video-verification.feature:372
  • build/integration/sharing_features/sharing-v1-video-verification.feature:386
  • build/integration/sharing_features/sharing-v1-video-verification.feature:403
  • build/integration/sharing_features/sharing-v1-video-verification.feature:419
  • build/integration/sharing_features/sharing-v1-video-verification.feature:436
  • build/integration/sharing_features/sharing-v1-video-verification.feature:453
  • build/integration/sharing_features/sharing-v1-video-verification.feature:471
Show full log
  Scenario: Creating a link share with send password by Talk # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:8
[Tue Sep  8 13:23:15 2020] 127.0.0.1:60520 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:15 2020] 127.0.0.1:60600 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:16 2020] 127.0.0.1:60654 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:16 2020] 127.0.0.1:60682 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                # SharingContext::assureUserExists()
    And As an "user0"                                        # SharingContext::asAn()
[Tue Sep  8 13:23:16 2020] 127.0.0.1:60694 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                               # SharingContext::creatingShare()
      | path               | welcome.txt |
      | shareType          | 3           |
      | password           | secret      |
      | sendPasswordByTalk | true        |
    Then the OCS status code should be "100"                 # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95dbf00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                 # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded  # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:17 2020] 127.0.0.1:60714 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:17 2020] 127.0.0.1:60748 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:18 2020] 127.0.0.1:60802 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk in a link share  # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:20
[Tue Sep  8 13:23:19 2020] 127.0.0.1:60840 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:19 2020] 127.0.0.1:60842 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:20 2020] 127.0.0.1:60878 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:20 2020] 127.0.0.1:60920 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:20 2020] 127.0.0.1:60942 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                               # SharingContext::assureUserExists()
    And As an "user0"                                       # SharingContext::asAn()
[Tue Sep  8 13:23:21 2020] 127.0.0.1:60986 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                              # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
[Tue Sep  8 13:23:21 2020] 127.0.0.1:32776 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/1
    And Updating last share with                            # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "100"                # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95d0400000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:22 2020] 127.0.0.1:32796 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:22 2020] 127.0.0.1:32832 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:23 2020] 127.0.0.1:32872 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with different password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:33
[Tue Sep  8 13:23:24 2020] 127.0.0.1:32916 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:24 2020] 127.0.0.1:32920 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:25 2020] 127.0.0.1:32970 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:25 2020] 127.0.0.1:32998 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:26 2020] 127.0.0.1:33016 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                      # SharingContext::assureUserExists()
    And As an "user0"                                                              # SharingContext::asAn()
[Tue Sep  8 13:23:26 2020] 127.0.0.1:33032 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                     # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
      | password  | secret      |
[Tue Sep  8 13:23:26 2020] 127.0.0.1:33062 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/2
    And Updating last share with                                                   # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | true           |
    Then the OCS status code should be "100"                                       # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95c9300000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                       # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded                # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:27 2020] 127.0.0.1:33080 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:27 2020] 127.0.0.1:33128 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:28 2020] 127.0.0.1:33176 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with different password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:47
[Tue Sep  8 13:23:29 2020] 127.0.0.1:33252 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:29 2020] 127.0.0.1:33256 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:30 2020] 127.0.0.1:33286 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:30 2020] 127.0.0.1:33322 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:31 2020] 127.0.0.1:33364 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                                         # SharingContext::assureUserExists()
    And As an "user0"                                                                                 # SharingContext::asAn()
[Tue Sep  8 13:23:31 2020] 127.0.0.1:33380 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                        # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
[Tue Sep  8 13:23:32 2020] 127.0.0.1:33400 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/3
    And Updating last share with                                                                      # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:23:32 2020] 127.0.0.1:33464 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/3
    And Updating last share with                                                                      # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | true           |
    Then the OCS status code should be "100"                                                          # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95c4e00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                                          # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded                                   # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:33 2020] 127.0.0.1:33496 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:33 2020] 127.0.0.1:33538 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:34 2020] 127.0.0.1:33566 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with same password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:62
[Tue Sep  8 13:23:34 2020] 127.0.0.1:33610 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:35 2020] 127.0.0.1:33614 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:36 2020] 127.0.0.1:33640 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:36 2020] 127.0.0.1:33670 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:36 2020] 127.0.0.1:33706 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                 # SharingContext::assureUserExists()
    And As an "user0"                                                         # SharingContext::asAn()
[Tue Sep  8 13:23:37 2020] 127.0.0.1:33726 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
      | password  | secret      |
[Tue Sep  8 13:23:37 2020] 127.0.0.1:33786 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/4
    And Updating last share with                                              # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "100"                                  # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95fcd00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                  # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                   # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:38 2020] 127.0.0.1:33840 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:38 2020] 127.0.0.1:33892 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:39 2020] 127.0.0.1:33944 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with same password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:76
[Tue Sep  8 13:23:40 2020] 127.0.0.1:34070 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:40 2020] 127.0.0.1:34074 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:41 2020] 127.0.0.1:34216 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:41 2020] 127.0.0.1:34290 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:42 2020] 127.0.0.1:34336 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                                    # SharingContext::assureUserExists()
    And As an "user0"                                                                            # SharingContext::asAn()
[Tue Sep  8 13:23:42 2020] 127.0.0.1:34364 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                   # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
[Tue Sep  8 13:23:43 2020] 127.0.0.1:34392 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/5
    And Updating last share with                                                                 # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:23:43 2020] 127.0.0.1:34436 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/5
    And Updating last share with                                                                 # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "100"                                                     # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95fa800000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                                     # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                      # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:44 2020] 127.0.0.1:34478 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:44 2020] 127.0.0.1:34560 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:45 2020] 127.0.0.1:34640 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk without updating password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:91
[Tue Sep  8 13:23:46 2020] 127.0.0.1:34828 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:46 2020] 127.0.0.1:34832 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:47 2020] 127.0.0.1:34872 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:47 2020] 127.0.0.1:34926 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:48 2020] 127.0.0.1:34976 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                        # SharingContext::assureUserExists()
    And As an "user0"                                                                # SharingContext::asAn()
[Tue Sep  8 13:23:48 2020] 127.0.0.1:35038 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                       # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
      | password  | secret      |
[Tue Sep  8 13:23:49 2020] 127.0.0.1:35118 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/6
    And Updating last share with                                                     # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "100"                                         # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95f2f00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                         # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                          # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:49 2020] 127.0.0.1:35174 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:50 2020] 127.0.0.1:35246 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:50 2020] 127.0.0.1:35386 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk without updating password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:104
[Tue Sep  8 13:23:51 2020] 127.0.0.1:35548 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:52 2020] 127.0.0.1:35552 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:53 2020] 127.0.0.1:35672 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:53 2020] 127.0.0.1:35772 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:53 2020] 127.0.0.1:35858 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                                           # SharingContext::assureUserExists()
    And As an "user0"                                                                                   # SharingContext::asAn()
[Tue Sep  8 13:23:54 2020] 127.0.0.1:35888 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                          # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
[Tue Sep  8 13:23:54 2020] 127.0.0.1:35938 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/7
    And Updating last share with                                                                        # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:23:55 2020] 127.0.0.1:36076 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/7
    And Updating last share with                                                                        # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "100"                                                            # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95e8a00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                                            # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                             # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:23:55 2020] 127.0.0.1:36116 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:56 2020] 127.0.0.1:36176 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:23:56 2020] 127.0.0.1:36254 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with no password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:118
[Tue Sep  8 13:23:57 2020] 127.0.0.1:36398 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:23:58 2020] 127.0.0.1:36402 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:23:59 2020] 127.0.0.1:36440 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:23:59 2020] 127.0.0.1:36554 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:23:59 2020] 127.0.0.1:36586 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                               # SharingContext::assureUserExists()
    And As an "user0"                                                       # SharingContext::asAn()
[Tue Sep  8 13:24:00 2020] 127.0.0.1:36612 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                              # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
[Tue Sep  8 13:24:00 2020] 127.0.0.1:36644 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/8
    And Updating last share with                                            # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95e0900000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                # SharingContext::theHTTPStatusCodeShouldBe()
    And last share can be downloaded                                        # SharingContext::lastShareCanBeDownloaded()
[Tue Sep  8 13:24:01 2020] 127.0.0.1:36688 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:01 2020] 127.0.0.1:36822 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:24:02 2020] 127.0.0.1:36936 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with no password removed after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:130
[Tue Sep  8 13:24:03 2020] 127.0.0.1:37044 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:03 2020] 127.0.0.1:37048 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:04 2020] 127.0.0.1:37106 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:05 2020] 127.0.0.1:37154 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:05 2020] 127.0.0.1:37198 [200]: /ocs/v2.php/cloud/users/user0
    Given user "user0" exists                                                                      # SharingContext::assureUserExists()
    And As an "user0"                                                                              # SharingContext::asAn()
[Tue Sep  8 13:24:06 2020] 127.0.0.1:37222 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                     # SharingContext::creatingShare()
      | path      | welcome.txt |
      | shareType | 3           |
      | password  | secret      |
[Tue Sep  8 13:24:06 2020] 127.0.0.1:37284 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/9
    And Updating last share with                                                                   # SharingContext::updatingLastShare()
      | password |  |
[Tue Sep  8 13:24:06 2020] 127.0.0.1:37316 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/9
    And Updating last share with                                                                   # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                                       # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b941e400000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                       # SharingContext::theHTTPStatusCodeShouldBe()
    And last share can be downloaded                                                               # SharingContext::lastShareCanBeDownloaded()
[Tue Sep  8 13:24:07 2020] 127.0.0.1:37362 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:07 2020] 127.0.0.1:37444 [404]: /ocs/v2.php/cloud/users/user0

[Tue Sep  8 13:24:08 2020] 127.0.0.1:37568 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk without setting new password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:145
[Tue Sep  8 13:24:09 2020] 127.0.0.1:37644 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:09 2020] 127.0.0.1:37674 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                 # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:24:10 2020] 127.0.0.1:37678 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:11 2020] 127.0.0.1:37776 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:11 2020] 127.0.0.1:37860 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:12 2020] 127.0.0.1:37914 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                              # SharingContext::assureUserExists()
    And As an "user0"                                                                    # SharingContext::asAn()
[Tue Sep  8 13:24:12 2020] 127.0.0.1:37944 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                           # SharingContext::creatingShare()
      | path               | welcome.txt |
      | shareType          | 3           |
      | password           | secret      |
      | sendPasswordByTalk | true        |
[Tue Sep  8 13:24:12 2020] 127.0.0.1:37992 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                         # SharingContext::updatingLastShare()
      | sendPasswordByTalk | false |
    Then the OCS status code should be "100"                                             # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9417800000000542cb101 (
          0 => '998'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                             # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                              # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:24:13 2020] 127.0.0.1:38050 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:13 2020] 127.0.0.1:38136 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:14 2020] 127.0.0.1:38244 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:24:21 2020] 127.0.0.1:39166 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk setting same password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:176
[Tue Sep  8 13:24:22 2020] 127.0.0.1:39294 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:22 2020] 127.0.0.1:39324 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                          # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:24:23 2020] 127.0.0.1:39332 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:24 2020] 127.0.0.1:39390 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:24 2020] 127.0.0.1:39456 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:24 2020] 127.0.0.1:39502 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                       # SharingContext::assureUserExists()
    And As an "user0"                                                             # SharingContext::asAn()
[Tue Sep  8 13:24:25 2020] 127.0.0.1:39544 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                    # SharingContext::creatingShare()
      | path               | welcome.txt |
      | shareType          | 3           |
      | password           | secret      |
      | sendPasswordByTalk | true        |
[Tue Sep  8 13:24:25 2020] 127.0.0.1:39622 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                  # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | false  |
    Then the OCS status code should be "100"                                      # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9407000000000542cb101 (
          0 => '998'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                      # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                       # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:24:26 2020] 127.0.0.1:39690 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:26 2020] 127.0.0.1:39800 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:26 2020] 127.0.0.1:39886 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:24:35 2020] 127.0.0.1:41062 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk setting new password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:209
[Tue Sep  8 13:24:35 2020] 127.0.0.1:41254 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:36 2020] 127.0.0.1:41266 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                         # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:24:37 2020] 127.0.0.1:41268 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:37 2020] 127.0.0.1:41304 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:38 2020] 127.0.0.1:41340 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:38 2020] 127.0.0.1:41380 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                      # SharingContext::assureUserExists()
    And As an "user0"                                                            # SharingContext::asAn()
[Tue Sep  8 13:24:38 2020] 127.0.0.1:41436 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                   # SharingContext::creatingShare()
      | path               | welcome.txt |
      | shareType          | 3           |
      | password           | secret      |
      | sendPasswordByTalk | true        |
[Tue Sep  8 13:24:39 2020] 127.0.0.1:41496 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                 # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | false          |
    Then the OCS status code should be "100"                                     # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9434400000000542cb101 (
          0 => '998'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                     # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded              # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:24:39 2020] 127.0.0.1:41546 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:40 2020] 127.0.0.1:41610 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:40 2020] 127.0.0.1:41658 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:24:48 2020] 127.0.0.1:42216 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Creating a mail share with send password by Talk # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:246
[Tue Sep  8 13:24:49 2020] 127.0.0.1:42300 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:49 2020] 127.0.0.1:42342 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                     # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:24:50 2020] 127.0.0.1:42346 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:50 2020] 127.0.0.1:42368 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:51 2020] 127.0.0.1:42392 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:51 2020] 127.0.0.1:42410 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                  # SharingContext::assureUserExists()
    And As an "user0"                                        # SharingContext::asAn()
[Tue Sep  8 13:24:51 2020] 127.0.0.1:42426 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                               # SharingContext::creatingShare()
      | path               | welcome.txt    |
      | shareType          | 4              |
      | shareWith          | [email protected] |
      | password           | secret         |
      | sendPasswordByTalk | true           |
    Then the OCS status code should be "100"                 # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9425800000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                 # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded  # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:24:52 2020] 127.0.0.1:42448 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:52 2020] 127.0.0.1:42496 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:53 2020] 127.0.0.1:42528 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:24:53 2020] 127.0.0.1:42548 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk in a mail share  # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:260
[Tue Sep  8 13:24:54 2020] 127.0.0.1:42590 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:24:55 2020] 127.0.0.1:42604 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                    # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:24:55 2020] 127.0.0.1:42608 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:56 2020] 127.0.0.1:42640 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:24:56 2020] 127.0.0.1:42676 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:57 2020] 127.0.0.1:42694 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                 # SharingContext::assureUserExists()
    And As an "user0"                                       # SharingContext::asAn()
[Tue Sep  8 13:24:57 2020] 127.0.0.1:42710 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                              # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:24:57 2020] 127.0.0.1:42744 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/13
    And Updating last share with                            # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "100"                # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b945d400000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:24:58 2020] 127.0.0.1:42764 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:24:58 2020] 127.0.0.1:42808 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:24:58 2020] 127.0.0.1:42860 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:24:59 2020] 127.0.0.1:42878 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with different password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:275
[Tue Sep  8 13:25:00 2020] 127.0.0.1:42948 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:00 2020] 127.0.0.1:42964 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                           # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:01 2020] 127.0.0.1:42970 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:01 2020] 127.0.0.1:42996 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:02 2020] 127.0.0.1:43022 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:02 2020] 127.0.0.1:43036 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                        # SharingContext::assureUserExists()
    And As an "user0"                                                              # SharingContext::asAn()
[Tue Sep  8 13:25:03 2020] 127.0.0.1:43052 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                     # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
      | password  | secret         |
[Tue Sep  8 13:25:03 2020] 127.0.0.1:43096 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/14
    And Updating last share with                                                   # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | true           |
    Then the OCS status code should be "100"                                       # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b945ab00000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                       # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded                # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:04 2020] 127.0.0.1:43104 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:04 2020] 127.0.0.1:43138 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:04 2020] 127.0.0.1:43186 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:05 2020] 127.0.0.1:43200 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with different password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:291
[Tue Sep  8 13:25:06 2020] 127.0.0.1:43256 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:06 2020] 127.0.0.1:43282 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                              # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:07 2020] 127.0.0.1:43286 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:08 2020] 127.0.0.1:43314 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:08 2020] 127.0.0.1:43348 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:08 2020] 127.0.0.1:43362 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                           # SharingContext::assureUserExists()
    And As an "user0"                                                                                 # SharingContext::asAn()
[Tue Sep  8 13:25:09 2020] 127.0.0.1:43378 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                        # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:25:09 2020] 127.0.0.1:43400 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/15
    And Updating last share with                                                                      # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:25:10 2020] 127.0.0.1:43448 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/15
    And Updating last share with                                                                      # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | true           |
    Then the OCS status code should be "100"                                                          # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9453800000000542cb101 (
          0 => '403'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                                          # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded                                   # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:10 2020] 127.0.0.1:43466 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:11 2020] 127.0.0.1:43508 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:11 2020] 127.0.0.1:43550 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:12 2020] 127.0.0.1:43566 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with same password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:308
[Tue Sep  8 13:25:13 2020] 127.0.0.1:43620 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:13 2020] 127.0.0.1:43638 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                      # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:14 2020] 127.0.0.1:43642 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:14 2020] 127.0.0.1:43674 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:15 2020] 127.0.0.1:43702 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:15 2020] 127.0.0.1:43716 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                   # SharingContext::assureUserExists()
    And As an "user0"                                                         # SharingContext::asAn()
[Tue Sep  8 13:25:16 2020] 127.0.0.1:43732 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
      | password  | secret         |
[Tue Sep  8 13:25:16 2020] 127.0.0.1:43772 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/16
    And Updating last share with                                              # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "400"                                  # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b944b500000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                  # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                   # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:16 2020] 127.0.0.1:43788 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:17 2020] 127.0.0.1:43828 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:17 2020] 127.0.0.1:43868 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:18 2020] 127.0.0.1:43888 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with same password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:324
[Tue Sep  8 13:25:19 2020] 127.0.0.1:43952 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:29 2020] 127.0.0.1:44390 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                         # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:30 2020] 127.0.0.1:44394 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:30 2020] 127.0.0.1:44410 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:31 2020] 127.0.0.1:44434 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:31 2020] 127.0.0.1:44450 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                      # SharingContext::assureUserExists()
    And As an "user0"                                                                            # SharingContext::asAn()
[Tue Sep  8 13:25:31 2020] 127.0.0.1:44460 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                   # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:25:32 2020] 127.0.0.1:44474 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/17
    And Updating last share with                                                                 # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:25:32 2020] 127.0.0.1:44506 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/17
    And Updating last share with                                                                 # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
    Then the OCS status code should be "400"                                                     # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9440a00000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                     # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                      # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:33 2020] 127.0.0.1:44524 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:33 2020] 127.0.0.1:44558 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:39 2020] 127.0.0.1:44786 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:40 2020] 127.0.0.1:44806 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk without updating password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:341
[Tue Sep  8 13:25:40 2020] 127.0.0.1:44848 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:41 2020] 127.0.0.1:44870 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                             # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:42 2020] 127.0.0.1:44874 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:43 2020] 127.0.0.1:44926 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:43 2020] 127.0.0.1:44954 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:43 2020] 127.0.0.1:44972 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                          # SharingContext::assureUserExists()
    And As an "user0"                                                                # SharingContext::asAn()
[Tue Sep  8 13:25:44 2020] 127.0.0.1:44992 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                       # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
      | password  | secret         |
[Tue Sep  8 13:25:44 2020] 127.0.0.1:45110 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/18
    And Updating last share with                                                     # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                         # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9478700000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                         # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                          # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:45 2020] 127.0.0.1:45140 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:45 2020] 127.0.0.1:45248 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:46 2020] 127.0.0.1:45296 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:47 2020] 127.0.0.1:45328 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk without updating password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:356
[Tue Sep  8 13:25:47 2020] 127.0.0.1:45390 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:48 2020] 127.0.0.1:45418 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                                # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:48 2020] 127.0.0.1:45424 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:49 2020] 127.0.0.1:45450 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:49 2020] 127.0.0.1:45482 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:50 2020] 127.0.0.1:45502 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                             # SharingContext::assureUserExists()
    And As an "user0"                                                                                   # SharingContext::asAn()
[Tue Sep  8 13:25:50 2020] 127.0.0.1:45524 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                          # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:25:51 2020] 127.0.0.1:45560 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/19
    And Updating last share with                                                                        # SharingContext::updatingLastShare()
      | password | secret |
[Tue Sep  8 13:25:51 2020] 127.0.0.1:45600 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/19
    And Updating last share with                                                                        # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                                            # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b9442000000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                            # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                             # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:25:51 2020] 127.0.0.1:45612 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:52 2020] 127.0.0.1:45634 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:52 2020] 127.0.0.1:45662 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:53 2020] 127.0.0.1:45676 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with no password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:372
[Tue Sep  8 13:25:54 2020] 127.0.0.1:45702 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:25:54 2020] 127.0.0.1:45716 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                    # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:25:54 2020] 127.0.0.1:45720 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:55 2020] 127.0.0.1:45732 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:25:55 2020] 127.0.0.1:45752 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:56 2020] 127.0.0.1:45764 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                 # SharingContext::assureUserExists()
    And As an "user0"                                                       # SharingContext::asAn()
[Tue Sep  8 13:25:56 2020] 127.0.0.1:45776 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                              # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:25:57 2020] 127.0.0.1:45846 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/20
    And Updating last share with                                            # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95d9700000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                # SharingContext::theHTTPStatusCodeShouldBe()
    And last share can be downloaded                                        # SharingContext::lastShareCanBeDownloaded()
[Tue Sep  8 13:25:58 2020] 127.0.0.1:45862 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:25:58 2020] 127.0.0.1:45898 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:25:58 2020] 127.0.0.1:45986 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:25:59 2020] 127.0.0.1:45996 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Enabling send password by Talk with no password removed after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:386
[Tue Sep  8 13:26:00 2020] 127.0.0.1:46034 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:00 2020] 127.0.0.1:46042 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                           # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:01 2020] 127.0.0.1:46046 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:02 2020] 127.0.0.1:46054 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:02 2020] 127.0.0.1:46150 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:02 2020] 127.0.0.1:46160 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                        # SharingContext::assureUserExists()
    And As an "user0"                                                                              # SharingContext::asAn()
[Tue Sep  8 13:26:03 2020] 127.0.0.1:46188 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                     # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
      | password  | secret         |
[Tue Sep  8 13:26:03 2020] 127.0.0.1:46238 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/21
    And Updating last share with                                                                   # SharingContext::updatingLastShare()
      | password |  |
[Tue Sep  8 13:26:04 2020] 127.0.0.1:46252 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/21
    And Updating last share with                                                                   # SharingContext::updatingLastShare()
      | sendPasswordByTalk | true |
    Then the OCS status code should be "400"                                                       # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95c8000000000542cb101 (
          0 => '403'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                       # SharingContext::theHTTPStatusCodeShouldBe()
    And last share can be downloaded                                                               # SharingContext::lastShareCanBeDownloaded()
[Tue Sep  8 13:26:04 2020] 127.0.0.1:46302 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:05 2020] 127.0.0.1:46384 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:05 2020] 127.0.0.1:46444 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:26:06 2020] 127.0.0.1:46476 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk without setting new password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:403
[Tue Sep  8 13:26:06 2020] 127.0.0.1:46532 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:07 2020] 127.0.0.1:46580 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                 # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:07 2020] 127.0.0.1:46584 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:08 2020] 127.0.0.1:46636 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:10 2020] 127.0.0.1:46652 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:11 2020] 127.0.0.1:46702 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                              # SharingContext::assureUserExists()
    And As an "user0"                                                                    # SharingContext::asAn()
[Tue Sep  8 13:26:11 2020] 127.0.0.1:46722 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                           # SharingContext::creatingShare()
      | path               | welcome.txt    |
      | shareType          | 4              |
      | shareWith          | [email protected] |
      | password           | secret         |
      | sendPasswordByTalk | true           |
[Tue Sep  8 13:26:11 2020] 127.0.0.1:46734 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                         # SharingContext::updatingLastShare()
      | sendPasswordByTalk | false |
    Then the OCS status code should be "400"                                             # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95ddc00000000542cb101 (
          0 => '998'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                             # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                              # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:26:12 2020] 127.0.0.1:46746 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:12 2020] 127.0.0.1:46776 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:12 2020] 127.0.0.1:46806 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:26:13 2020] 127.0.0.1:46828 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk without setting new password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:419
[Tue Sep  8 13:26:14 2020] 127.0.0.1:46888 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:14 2020] 127.0.0.1:46896 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                                    # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:15 2020] 127.0.0.1:46900 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:16 2020] 127.0.0.1:46918 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:16 2020] 127.0.0.1:46938 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:16 2020] 127.0.0.1:46966 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                                 # SharingContext::assureUserExists()
    And As an "user0"                                                                                       # SharingContext::asAn()
[Tue Sep  8 13:26:17 2020] 127.0.0.1:46980 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                              # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:26:17 2020] 127.0.0.1:47002 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/22
    And Updating last share with                                                                            # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
[Tue Sep  8 13:26:17 2020] 127.0.0.1:47020 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/22
    And Updating last share with                                                                            # SharingContext::updatingLastShare()
      | sendPasswordByTalk | false |
    Then the OCS status code should be "400"                                                                # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95f9c00000000542cb101 (
          0 => '100'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                                # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                                 # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:26:18 2020] 127.0.0.1:47036 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:18 2020] 127.0.0.1:47080 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:18 2020] 127.0.0.1:47102 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:26:19 2020] 127.0.0.1:47122 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk setting same password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:436
[Tue Sep  8 13:26:20 2020] 127.0.0.1:47178 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:20 2020] 127.0.0.1:47200 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                          # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:21 2020] 127.0.0.1:47204 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:21 2020] 127.0.0.1:47226 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:22 2020] 127.0.0.1:47262 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:22 2020] 127.0.0.1:47278 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                       # SharingContext::assureUserExists()
    And As an "user0"                                                             # SharingContext::asAn()
[Tue Sep  8 13:26:22 2020] 127.0.0.1:47306 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                    # SharingContext::creatingShare()
      | path               | welcome.txt    |
      | shareType          | 4              |
      | shareWith          | [email protected] |
      | password           | secret         |
      | sendPasswordByTalk | true           |
[Tue Sep  8 13:26:23 2020] 127.0.0.1:47326 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                  # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | false  |
    Then the OCS status code should be "400"                                      # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95f3900000000542cb101 (
          0 => '998'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                      # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                       # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:26:23 2020] 127.0.0.1:47344 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:24 2020] 127.0.0.1:47386 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:24 2020] 127.0.0.1:47436 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:26:25 2020] 127.0.0.1:47462 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk setting same password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:453
[Tue Sep  8 13:26:26 2020] 127.0.0.1:47502 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:26 2020] 127.0.0.1:47516 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                                             # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:26 2020] 127.0.0.1:47520 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:27 2020] 127.0.0.1:47534 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:28 2020] 127.0.0.1:47560 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:28 2020] 127.0.0.1:47580 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                                          # SharingContext::assureUserExists()
    And As an "user0"                                                                                # SharingContext::asAn()
[Tue Sep  8 13:26:28 2020] 127.0.0.1:47590 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                                       # SharingContext::creatingShare()
      | path      | welcome.txt    |
      | shareType | 4              |
      | shareWith | [email protected] |
[Tue Sep  8 13:26:29 2020] 127.0.0.1:47606 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/23
    And Updating last share with                                                                     # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | true   |
[Tue Sep  8 13:26:29 2020] 127.0.0.1:47630 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/23
    And Updating last share with                                                                     # SharingContext::updatingLastShare()
      | password           | secret |
      | sendPasswordByTalk | false  |
    Then the OCS status code should be "400"                                                         # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95ecc00000000542cb101 (
          0 => '100'
      ) matches expected '400'.
    And the HTTP status code should be "200"                                                         # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "secret" can be downloaded                                          # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:26:30 2020] 127.0.0.1:47656 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:30 2020] 127.0.0.1:47678 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:30 2020] 127.0.0.1:47706 [200]: /apps/testing/clean_opcode_cache.php

[Tue Sep  8 13:26:31 2020] 127.0.0.1:47714 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
  Scenario: Disabling send password by Talk setting new password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:471
[Tue Sep  8 13:26:32 2020] 127.0.0.1:47760 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep  8 13:26:32 2020] 127.0.0.1:47772 [200]: /apps/testing/clean_opcode_cache.php
    Given dummy mail server is listening                                         # SharingContext::dummyMailServerIsListening()
[Tue Sep  8 13:26:33 2020] 127.0.0.1:47776 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:34 2020] 127.0.0.1:47788 [200]: /ocs/v1.php/cloud/users
[Tue Sep  8 13:26:34 2020] 127.0.0.1:47800 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:34 2020] 127.0.0.1:47812 [200]: /ocs/v2.php/cloud/users/user0
    And user "user0" exists                                                      # SharingContext::assureUserExists()
    And As an "user0"                                                            # SharingContext::asAn()
[Tue Sep  8 13:26:35 2020] 127.0.0.1:47826 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
    When creating a share with                                                   # SharingContext::creatingShare()
      | path               | welcome.txt    |
      | shareType          | 4              |
      | shareWith          | [email protected] |
      | password           | secret         |
      | sendPasswordByTalk | true           |
[Tue Sep  8 13:26:35 2020] 127.0.0.1:47840 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
    And Updating last share with                                                 # SharingContext::updatingLastShare()
      | password           | another secret |
      | sendPasswordByTalk | false          |
    Then the OCS status code should be "100"                                     # SharingContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &0000000014b95e4600000000542cb101 (
          0 => '998'
      ) matches expected '100'.
    And the HTTP status code should be "200"                                     # SharingContext::theHTTPStatusCodeShouldBe()
    And last share with password "another secret" can be downloaded              # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep  8 13:26:36 2020] 127.0.0.1:47860 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep  8 13:26:36 2020] 127.0.0.1:47892 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep  8 13:26:37 2020] 127.0.0.1:47916 [200]: /apps/testing/clean_opcode_cache.php

Signed-off-by: Morris Jobke <[email protected]>
@MorrisJobke
Copy link
Member

I fixed the code style (was a single additional empty line in a test).

@MorrisJobke MorrisJobke merged commit cd56302 into master Sep 9, 2020
@MorrisJobke MorrisJobke deleted the bugfix/noid/quota-trash-creation branch September 9, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants