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][full-ci] Remove isTestingOnReva() and isTestingOnOcis() and their references #40625

Merged
merged 3 commits into from
Feb 8, 2023
Merged

[tests-only][full-ci] Remove isTestingOnReva() and isTestingOnOcis() and their references #40625

merged 3 commits into from
Feb 8, 2023

Conversation

roshanlc
Copy link

@roshanlc roshanlc commented Feb 7, 2023

Description

This PR removes isTestingOnOcis() and isTestingOnReva() functions and their references from the tests code-base.

Related Issue

Motivation and Context

How Has This Been Tested?

  • CI

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

@roshanlc roshanlc marked this pull request as ready for review February 8, 2023 07:17
@sonarcloud
Copy link

sonarcloud bot commented Feb 8, 2023

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

Comment on lines 39 to 41
public static function isTestingOnOcisOrReva():bool {
return (self::isTestingOnOcis() || self::isTestingOnReva());
return false;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: we can also remove this whole function. But that can be done in the next PR.

@phil-davis phil-davis merged commit 37a19c8 into owncloud:master Feb 8, 2023
@phil-davis
Copy link
Contributor

@roshanlc I merged this, because it is "a good thing".

Please make another PR to remove isTestingOnOcisOrReva (and any other ocis-reva code that you can find)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants