Added in random UUID for unit test

This commit is contained in:
Cyrus 2023-05-04 11:57:47 -04:00
parent e08a78482f
commit 9585513069

View File

@ -86,6 +86,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
@ -1474,7 +1475,7 @@ public class SupplyChainCredentialValidatorTest {
);
Assert.assertTrue(
SupplyChainCredentialValidator.isMatch(null, pcComponentIdentifier,
SupplyChainCredentialValidator.isMatch(UUID.randomUUID(), pcComponentIdentifier,
nicComponentInfo)
);
}