Skip to content

Same seed should produce same password for person #130

@rweisleder

Description

@rweisleder

Given the following snippet

Person person1 = Fairy.builder().withLocale(Locale.ENGLISH).withRandomSeed(1).build().person();
System.out.println(person1.getUsername() + ":" + person1.getPassword());

Person person2 = Fairy.builder().withLocale(Locale.ENGLISH).withRandomSeed(1).build().person();
System.out.println(person2.getUsername() + ":" + person2.getPassword());

I would expect that the username and password are the same because I use the same seed.

Currently (v0.6.4), the password is always different.

andrewm:toql0chK
andrewm:JMRluePu

This issue makes it difficult to create reproducible fake data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions