| 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 e8642f57a765cb157332753e8dd04d01486e085a..f7ff673c83b7b959985f9fbac378e99f8c058f84 100644
|
| --- a/tests/standalone/io/web_socket_test.dart
|
| +++ b/tests/standalone/io/web_socket_test.dart
|
| @@ -24,12 +24,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.
|
|
|