Skip to content

Commit

Permalink
Fixing Analytics Key retrieval (#30428)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Silva <[email protected]>
  • Loading branch information
victoralfaro-dotcms and dsilvam authored Oct 23, 2024
1 parent 86b7eb4 commit 9af96d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public boolean hasEnvVar() {
}

public boolean hasEnvVarValue() {
return Objects.nonNull(envVarValue);
return Objects.nonNull(envVarValue) && StringUtils.isNotBlank(String.valueOf(envVarValue));
}

@JsonIgnore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ public void testToString() throws Exception {


}


@Test(expected = BadRequestException.class)
public void disallowRedirects() throws Exception {

Expand All @@ -335,11 +335,11 @@ public void disallowRedirects() throws Exception {

new CircuitBreakerUrl(redirectUrl, timeout, breaker).doString();
}





public void testMemory() throws Exception {
System.gc();

Expand Down

0 comments on commit 9af96d6

Please sign in to comment.