Explorar el Código

Fixed unit test

Tatsuhiro Tsujikawa hace 14 años
padre
commit
62a07fff5f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/RpcMethodTest.cc

+ 1 - 1
test/RpcMethodTest.cc

@@ -564,7 +564,7 @@ void RpcMethodTest::testChangeGlobalOption_withNotAllowedOption()
   RpcRequest req
     (ChangeGlobalOptionRpcMethod::getMethodName(), List::g());
   SharedHandle<Dict> opt = Dict::g();
-  opt->put(PREF_MAX_DOWNLOAD_LIMIT->k, "100K");
+  opt->put(PREF_ENABLE_RPC->k, "100K");
   req.params->append(opt);
   RpcResponse res = m.execute(req, e_.get());
   CPPUNIT_ASSERT_EQUAL(1, res.code);