Index: tests/standalone/io/web_socket_test.dart |
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart |
index ab37e9374f413e2667b87bb62b361b814c4344fa..40ba31c863b4a655ce84c068585ca7397e365c2a 100644 |
--- a/tests/standalone/io/web_socket_test.dart |
+++ b/tests/standalone/io/web_socket_test.dart |
@@ -30,7 +30,8 @@ SecurityContext serverContext = new SecurityContext() |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesBytes( |
+ readLocalFile('certificates/trusted_certs.pem')); |
/** |
* A SecurityConfiguration lets us run the tests over HTTP or HTTPS. |