Browse Source

SONAR-12510 do not fail in views/define when app branch already exist

tags/8.0
Sébastien Lesaint 4 years ago
parent
commit
4039016980

+ 5
- 1
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/component/ComponentTesting.java View File

@@ -177,7 +177,11 @@ public class ComponentTesting {
}

public static ComponentDto newApplication(OrganizationDto organizationDto) {
return newView(organizationDto.getUuid(), Uuids.createFast())
return newApplication(organizationDto.getUuid());
}

public static ComponentDto newApplication(String organizationUuid) {
return newView(organizationUuid, Uuids.createFast())
.setQualifier(Qualifiers.APP);
}


Loading…
Cancel
Save