Fixed code to comply with uuid property rename to id

This commit is contained in:
Luca Frosini 2023-04-28 11:49:46 +02:00
parent 1bd0ecfffa
commit 0b6700cd40
1 changed files with 3 additions and 3 deletions

View File

@ -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) {