Index: tests/standalone/io/https_unauthorized_test.dart |
diff --git a/tests/standalone/io/https_unauthorized_test.dart b/tests/standalone/io/https_unauthorized_test.dart |
index c96934fa8aaaee7019e66386b2995d6cd33a6838..dae465ba92953e670c418fc287baeb61a6b9c290 100644 |
--- a/tests/standalone/io/https_unauthorized_test.dart |
+++ b/tests/standalone/io/https_unauthorized_test.dart |
@@ -23,7 +23,8 @@ SecurityContext untrustedServerContext = new SecurityContext() |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesBytes( |
+ readLocalFile('certificates/trusted_certs.pem')); |
Future<SecureServerSocket> runServer() { |
return HttpServer.bindSecure( |