Project

General

Profile

« Previous | Next » 

Revision 9296

Added by Jing Tao over 9 years ago

The mn-demo-6 is a v2 member node.

View differences:

test/edu/ucsb/nceas/metacat/dataone/D1NodeVersionCheckerTest.java
176 176
      NodeReference node = new NodeReference();
177 177
      node.setValue("urn:node:mnDemo6");
178 178
      D1NodeVersionChecker checker = new D1NodeVersionChecker(node);
179
      assertTrue(checker.getVersion("MNReplication").equals("v1"));
179
      assertTrue(checker.getVersion("MNReplication").equals("v2"));
180 180
      node.setValue("urn:node:cnDevUCSB1");
181 181
      checker = new D1NodeVersionChecker(node);
182 182
      assertTrue(checker.getVersion("MNReplication") == null);

Also available in: Unified diff