elixirs / faker

Faker is a pure Elixir library for generating fake data.
MIT License
1.08k stars 217 forks source link

Make tests compatible with Elixir 1.16 and 1.17 #565

Open ypconstante opened 5 months ago

ypconstante commented 5 months ago

This PR replaces usages of Elixir functions that return random data, allowing us to update the test to work on all supported Elixir versions:

After this changes the only tests breaking was on Faker.File because of the map ordering changes on OTP 26, also fixed it and updated CI to test on both OTP 26 and 27.

I've added: