Revision 9285
Added by Jing Tao over 9 years ago
test/edu/ucsb/nceas/metacat/dataone/MNodeServiceTest.java | ||
---|---|---|
512 | 512 |
//update the authoritative node on the existing pid (newPid) |
513 | 513 |
SystemMetadata meta = MNodeService.getInstance(request).getSystemMetadata(session, newPid); |
514 | 514 |
BigInteger version = meta.getSerialVersion(); |
515 |
version.add(BigInteger.ONE); |
|
515 |
version = version.add(BigInteger.ONE);
|
|
516 | 516 |
newSysMeta.setSerialVersion(version); |
517 | 517 |
NodeReference newMN = new NodeReference(); |
518 | 518 |
newMN.setValue("urn:node:river1"); |
Also available in: Unified diff
Fixed a bug to increase the serial version