Revision 9459
Added by ben leinfelder about 9 years ago
test/edu/ucsb/nceas/metacat/dataone/D1NodeVersionCheckerTest.java | ||
---|---|---|
180 | 180 |
node.setValue("urn:node:cnDevUCSB1"); |
181 | 181 |
checker = new D1NodeVersionChecker(node); |
182 | 182 |
assertTrue(checker.getVersion("MNReplication") == null); |
183 |
assertTrue(checker.getVersion("CNRegister").equals("v1"));
|
|
183 |
assertTrue(checker.getVersion("CNRegister").equals("v2"));
|
|
184 | 184 |
|
185 | 185 |
|
186 | 186 |
Settings.getConfiguration().setProperty("D1Client.CN_URL", "https://cn.dataone.org/cn"); |
Also available in: Unified diff
merge from 2.0 branch: use updated node list information from cn-dev so that test will match current state of env. https://redmine.dataone.org/issues/7534