Index: tests/standalone/io/web_socket_error_test.dart |
diff --git a/tests/standalone/io/web_socket_error_test.dart b/tests/standalone/io/web_socket_error_test.dart |
index a9ed84a31349e6974dedf3d83836ef7c4f619c0b..730f5915672474213e68eb1c0c31178f8a679be5 100644 |
--- a/tests/standalone/io/web_socket_error_test.dart |
+++ b/tests/standalone/io/web_socket_error_test.dart |
@@ -34,7 +34,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. |