Include the environment default profiles in the env endpoint's response

See gh-39257
This commit is contained in:
Wzy19930507
2024-01-21 22:28:55 +08:00
committed by Moritz Halbritter
parent f36b69f961
commit dae3952144
3 changed files with 27 additions and 7 deletions

View File

@@ -86,7 +86,8 @@ class EnvironmentEndpointWebExtensionTests {
private void verifyPrefixed(SecurityContext securityContext, boolean showUnsanitized) {
given(this.delegate.getEnvironmentEntryDescriptor("test", showUnsanitized))
.willReturn(new EnvironmentEntryDescriptor(null, Collections.emptyList(), Collections.emptyList()));
.willReturn(new EnvironmentEntryDescriptor(null, Collections.emptyList(), Collections.emptyList(),
Collections.emptyList()));
this.webExtension.environmentEntry(securityContext, "test");
then(this.delegate).should().getEnvironmentEntryDescriptor("test", showUnsanitized);
}