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

[tests-only]Fix tests related to the identical received shares #40393

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

SwikritiT
Copy link
Contributor

@SwikritiT SwikritiT commented Sep 29, 2022

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@SwikritiT SwikritiT self-assigned this Sep 29, 2022
@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline apiProxySmoke-8-3-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/core/36921/182

@SwikritiT SwikritiT force-pushed the refactor-identical-share-test-code-for-ocis branch from 67dee09 to 3505a4b Compare September 30, 2022 04:08
@SwikritiT SwikritiT force-pushed the refactor-identical-share-test-code-for-ocis branch from 5cc0971 to e81dfd4 Compare October 17, 2022 04:07
@SwikritiT SwikritiT changed the title [tests-only][WIP]Fix tests related to the identical received shares [tests-only]Fix tests related to the identical received shares Oct 17, 2022
@@ -2092,7 +2092,7 @@ public function checkElementList(
"//d:response/d:href[text() = \"$webdavPath\"]"
);
if ($expectedToBeListed
&& (!isset($element[0]) || $element[0]->__toString() !== $webdavPath)
&& (!isset($element[0]) || urldecode($element[0]->__toString()) !== urldecode($webdavPath))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decoded here as suggested by owncloud/ocis#4676 (comment)

@SwikritiT SwikritiT marked this pull request as ready for review October 17, 2022 07:09
@SwikritiT SwikritiT changed the title [tests-only]Fix tests related to the identical received shares [tests-only][full-ci] Fix tests related to the identical received shares Oct 17, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@amrita-shrestha amrita-shrestha removed their request for review October 18, 2022 03:54
@SwikritiT SwikritiT force-pushed the refactor-identical-share-test-code-for-ocis branch from 634142f to 211f0b7 Compare October 19, 2022 04:09
@SwikritiT SwikritiT requested a review from saw-jan October 19, 2022 04:09
Copy link
Contributor

@kiranparajuli589 kiranparajuli589 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@SwikritiT SwikritiT force-pushed the refactor-identical-share-test-code-for-ocis branch from 211f0b7 to 63c2f17 Compare October 19, 2022 08:11
@SwikritiT SwikritiT requested a review from grgprarup October 19, 2022 11:19
@SwikritiT
Copy link
Contributor Author

All the tests are passing in full-ci expect the php-tests , so I'm removing the full-ci and then the CI will be green

@SwikritiT SwikritiT changed the title [tests-only][full-ci] Fix tests related to the identical received shares [tests-only]Fix tests related to the identical received shares Oct 19, 2022
@SwikritiT SwikritiT force-pushed the refactor-identical-share-test-code-for-ocis branch from 63c2f17 to 72e2cea Compare October 19, 2022 11:24
@phil-davis phil-davis merged commit c2c41bc into master Oct 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the refactor-identical-share-test-code-for-ocis branch October 21, 2022 08:08
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

Successfully merging this pull request may close these issues.

6 participants