mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-30 09:49:00 +00:00
Added in random UUID for unit test
This commit is contained in:
parent
e08a78482f
commit
9585513069
@ -86,6 +86,7 @@ import java.util.HashSet;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
import static org.powermock.api.mockito.PowerMockito.mock;
|
import static org.powermock.api.mockito.PowerMockito.mock;
|
||||||
import static org.powermock.api.mockito.PowerMockito.when;
|
import static org.powermock.api.mockito.PowerMockito.when;
|
||||||
@ -1474,7 +1475,7 @@ public class SupplyChainCredentialValidatorTest {
|
|||||||
);
|
);
|
||||||
|
|
||||||
Assert.assertTrue(
|
Assert.assertTrue(
|
||||||
SupplyChainCredentialValidator.isMatch(null, pcComponentIdentifier,
|
SupplyChainCredentialValidator.isMatch(UUID.randomUUID(), pcComponentIdentifier,
|
||||||
nicComponentInfo)
|
nicComponentInfo)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user