Skip to content

Commit dd7c2b7

Browse files
authored
1.2.33 release branch back to develop (#597)
1 parent edbdb08 commit dd7c2b7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backend/src/test/java/net/es/oscars/cuke/MockSimpleConnectionHelper.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,9 @@ public Connection generateMockConnection(String mockConnectionId, Phase phase, B
496496
}
497497
public Connection generateMockConnection(String mockConnectionId, Phase phase, BuildMode buildMode, State state, DeploymentState deploymentState, DeploymentIntent deploymentIntent, int connection_mtu, String projectId) {
498498
Set<String> projectIds = new HashSet<>();
499-
projectIds.add(projectId);
499+
if (projectId != null) {
500+
projectIds.add(projectId);
501+
}
500502

501503
return Connection.builder()
502504
.id(1L)

0 commit comments

Comments
 (0)