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.