Skip to content

SQ Plugin: Replace usages of deprecated Build.setProfile in the integration tests #3102

@costin-zaharia-sonarsource

Description

Build.setProfile method is used multiple times in the integration tests but it has been deprecated and currently, calling it, doesn't have the expected result.

As an example, if I delete the call from no_coverage_on_tests the test remains green.

We have to remove the calls, replace them with provisionProject() and associateProjectToQualityProfile() where needed and see if the tests are still valid since removing a method call still keeps the test successful.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions