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 31969a3fb67122bae733968b2e053b81b36ebc43..42b93d410ec4891bce2b1897276563a85ffbebe4 100644 |
--- a/tests/standalone/io/web_socket_error_test.dart |
+++ b/tests/standalone/io/web_socket_error_test.dart |
@@ -28,12 +28,12 @@ const String HOST_NAME = 'localhost'; |
String localFile(path) => Platform.script.resolve(path).toFilePath(); |
SecurityContext serverContext = new SecurityContext() |
- ..useCertificateChainSync(localFile('certificates/server_chain.pem')) |
- ..usePrivateKeySync(localFile('certificates/server_key.pem'), |
- password: 'dartdart'); |
+ ..useCertificateChain(localFile('certificates/server_chain.pem')) |
+ ..usePrivateKey(localFile('certificates/server_key.pem'), |
+ password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificatesSync(localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificates(localFile('certificates/trusted_certs.pem')); |
/** |
* A SecurityConfiguration lets us run the tests over HTTP or HTTPS. |