Skip to content

Commit

Permalink
Reset Unique Index
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Mar 21, 2016
1 parent 4763ab8 commit 135839f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Bogus.Tests/UniquenessTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class User
[Test]
public void every_new_generation_should_have_a_new_unqiue_index()
{
Faker.GlobalUniqueIndex = 0;
var faker = new Faker<User>()
.RuleFor(u => u.FirstName, f => f.Person.FirstName)
.RuleFor(u => u.LastName, f => f.Person.LastName)
Expand Down

0 comments on commit 135839f

Please sign in to comment.