url -> uri
authorDan Mills <thunder@mozilla.com>
Thu, 06 Nov 2008 17:38:35 -0800
changeset 45027 37a40fd2c042172fed60dc8e7abd1bdb437ca566
parent 45026 029cf31c83cccde108820a48dac6b9b28eb70a3d
child 45028 415cc4e074bfd0bc3d890ff1f716ed2f880a92fe
push idunknown
push userunknown
push dateunknown
url -> uri
services/sync/tests/unit/test_records_crypto.js
--- a/services/sync/tests/unit/test_records_crypto.js
+++ b/services/sync/tests/unit/test_records_crypto.js
@@ -56,17 +56,17 @@ function async_test() {
     Log4Moz.repository.rootLogger.addAppender(new Log4Moz.DumpAppender());
 
     jsonSvc = Cc["@mozilla.org/dom/json;1"].createInstance(Ci.nsIJSON);
     cryptoSvc = Cc["@labs.mozilla.com/Weave/Crypto;1"].
       getService(Ci.IWeaveCrypto);
 
     let auth = new BasicAuthenticator(new Identity("secret", "guest", "guest"));
     Auth.defaultAuthenticator = auth;
-    PubKeys.defaultKeyUrl = "http://localhost:8080/pubkey";
+    PubKeys.defaultKeyUri = "http://localhost:8080/pubkey";
 
     server = httpd_setup({"/pubkey": pubkey_handler,
                           "/privkey": privkey_handler,
                           "/crypted-resource": crypted_resource_handler,
                           "/crypto-meta": crypto_meta_handler});
 
     salt = cryptoSvc.generateRandomBytes(16);
     iv = cryptoSvc.generateRandomIV();