Skip to content

Commit 492ccd7

Browse files
committed
fix test
1 parent 58efdc6 commit 492ccd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/entitlement/qa/entitlement-test-plugin/src/main/java/org/elasticsearch/entitlement/qa/test/URLConnectionNetworkActions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,6 @@ static void sunMailToURLConnectionConnect() throws Exception {
448448

449449
@EntitlementTest(expectedAccess = PLUGINS)
450450
static void sunMailToURLConnectionGetOutputStream() throws Exception {
451-
withJdkMailToConnection(URLConnection::connect);
451+
withJdkMailToConnection(URLConnection::getOutputStream);
452452
}
453453
}

0 commit comments

Comments
 (0)