Skip to main content

fake_principal

Function fake_principal 

Source
pub fn fake_principal(seed: u32) -> ExternalPrincipal
Expand description

Deterministically derive a test Principal from seed.

Values are derived directly from a numeric seed, making fixtures stable without embedding textual principal literals.