Project

General

Profile

« Previous | Next » 

Revision 6404

Added by Chris Jones over 13 years ago

Update test for getReplicationStatus to reflect API change.

View differences:

test/edu/ucsb/nceas/metacat/dataone/CNodeServiceTest.java
454 454
			assertEquals(guid.getValue(), retGuid.getValue());
455 455
			// set it
456 456
			ReplicationStatus status = ReplicationStatus.COMPLETED;
457
			boolean result = CNodeService.getInstance().setReplicationStatus(session, guid, status);
457
			boolean result = CNodeService.getInstance().setReplicationStatus(session, guid, replicaMemberNode, status);
458 458
			assertTrue(result);
459 459
			// get it
460 460
			sysmeta = CNodeService.getInstance().getSystemMetadata(session, guid);

Also available in: Unified diff