Fixed code to comply with uuid property rename to id
This commit is contained in:
parent
1bd0ecfffa
commit
0b6700cd40
|
@ -50,13 +50,13 @@ public class ResourceRegistryQueryTemplateClientTest extends ContextTest {
|
|||
Metadata previousMetadata = previous.getMetadata();
|
||||
|
||||
Assert.assertTrue(gotMetadata != null);
|
||||
Assert.assertTrue(got.getUUID() != null);
|
||||
Assert.assertTrue(got.getID() != null);
|
||||
|
||||
String user = ContextTest.getUser();
|
||||
Assert.assertTrue(gotMetadata.getLastUpdateBy().compareTo(user) == 0);
|
||||
|
||||
if(previous.getUUID()!=null) {
|
||||
Assert.assertTrue(got.getUUID().compareTo(previous.getUUID()) == 0);
|
||||
if(previous.getID()!=null) {
|
||||
Assert.assertTrue(got.getID().compareTo(previous.getID()) == 0);
|
||||
}
|
||||
|
||||
if(previousMetadata != null) {
|
||||
|
|
Loading…
Reference in New Issue