Fixed unit test

pull/2/head
Tatsuhiro Tsujikawa 2011-10-25 00:05:28 +09:00
parent 249fd90c92
commit 62a07fff5f
1 changed files with 1 additions and 1 deletions

View File

@ -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);