mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
UT: Move test account configuration from config-example.js.
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
//
|
//
|
||||||
// Configuration for unit tests
|
// Configuration for unit tests: to be locally customized as needed.
|
||||||
//
|
//
|
||||||
|
|
||||||
var path = require("path");
|
var path = require("path");
|
||||||
|
var testconfig = require("./testconfig.js");
|
||||||
|
|
||||||
|
exports.accounts = testconfig.accounts;
|
||||||
|
|
||||||
// Where to find the binary.
|
// Where to find the binary.
|
||||||
exports.rippled = path.resolve("build/rippled");
|
exports.rippled = path.resolve("build/rippled");
|
||||||
@@ -27,47 +30,4 @@ exports.servers = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Configuration for test accounts.
|
|
||||||
exports.accounts = {
|
|
||||||
// Users
|
|
||||||
"alice" : {
|
|
||||||
'account' : "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
|
|
||||||
'secret' : "alice",
|
|
||||||
},
|
|
||||||
"bob" : {
|
|
||||||
'account' : "rPMh7Pi9ct699iZUTWaytJUoHcJ7cgyziK",
|
|
||||||
'secret' : "bob",
|
|
||||||
},
|
|
||||||
"carol" : {
|
|
||||||
'account' : "rH4KEcG9dEwGwpn6AyoWK9cZPLL4RLSmWW",
|
|
||||||
'secret' : "carol",
|
|
||||||
},
|
|
||||||
"dan" : {
|
|
||||||
'account' : "rJ85Mok8YRNxSo7NnxKGrPuk29uAeZQqwZ",
|
|
||||||
'secret' : "dan",
|
|
||||||
},
|
|
||||||
|
|
||||||
// Nexuses
|
|
||||||
"bitstamp" : {
|
|
||||||
'account' : "r4jKmc2nQb5yEU6eycefiNKGHTU5NQJASx",
|
|
||||||
'secret' : "bitstamp",
|
|
||||||
},
|
|
||||||
"mtgox" : {
|
|
||||||
'account' : "rGihwhaqU8g7ahwAvTq6iX5rvsfcbgZw6v",
|
|
||||||
'secret' : "mtgox",
|
|
||||||
},
|
|
||||||
|
|
||||||
// Merchants
|
|
||||||
"amazon" : {
|
|
||||||
'account' : "rhheXqX7bDnXePJeMHhubDDvw2uUTtenPd",
|
|
||||||
'secret' : "amazon",
|
|
||||||
},
|
|
||||||
|
|
||||||
// Master account
|
|
||||||
"root" : {
|
|
||||||
'account' : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
|
||||||
'secret' : "masterpassphrase",
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
// vim:sw=2:sts=2:ts=8:et
|
// vim:sw=2:sts=2:ts=8:et
|
||||||
|
|||||||
48
test/testconfig.js
Normal file
48
test/testconfig.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
//
|
||||||
|
// Configuration for unit tests: not to be locally customized.
|
||||||
|
//
|
||||||
|
|
||||||
|
// Configuration for test accounts.
|
||||||
|
exports.accounts = {
|
||||||
|
// Users
|
||||||
|
"alice" : {
|
||||||
|
'account' : "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
|
||||||
|
'secret' : "alice",
|
||||||
|
},
|
||||||
|
"bob" : {
|
||||||
|
'account' : "rPMh7Pi9ct699iZUTWaytJUoHcJ7cgyziK",
|
||||||
|
'secret' : "bob",
|
||||||
|
},
|
||||||
|
"carol" : {
|
||||||
|
'account' : "rH4KEcG9dEwGwpn6AyoWK9cZPLL4RLSmWW",
|
||||||
|
'secret' : "carol",
|
||||||
|
},
|
||||||
|
"dan" : {
|
||||||
|
'account' : "rJ85Mok8YRNxSo7NnxKGrPuk29uAeZQqwZ",
|
||||||
|
'secret' : "dan",
|
||||||
|
},
|
||||||
|
|
||||||
|
// Nexuses
|
||||||
|
"bitstamp" : {
|
||||||
|
'account' : "r4jKmc2nQb5yEU6eycefiNKGHTU5NQJASx",
|
||||||
|
'secret' : "bitstamp",
|
||||||
|
},
|
||||||
|
"mtgox" : {
|
||||||
|
'account' : "rGihwhaqU8g7ahwAvTq6iX5rvsfcbgZw6v",
|
||||||
|
'secret' : "mtgox",
|
||||||
|
},
|
||||||
|
|
||||||
|
// Merchants
|
||||||
|
"amazon" : {
|
||||||
|
'account' : "rhheXqX7bDnXePJeMHhubDDvw2uUTtenPd",
|
||||||
|
'secret' : "amazon",
|
||||||
|
},
|
||||||
|
|
||||||
|
// Master account
|
||||||
|
"root" : {
|
||||||
|
'account' : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||||
|
'secret' : "masterpassphrase",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
// vim:sw=2:sts=2:ts=8:et
|
||||||
Reference in New Issue
Block a user