Skip to content

Commit

Permalink
fix(#33): generate a fake uuid
Browse files Browse the repository at this point in the history
Co-authored-by: Matheus Barbosa <maatheusb96@gmail.com>
  • Loading branch information
powilliam and barbosamaatheus authored May 28, 2020
1 parent 874b681 commit e2012a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/unit/JwtManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ it("Check if the jwt manager decodes the token and returns the fake value genera
it("Check if the jwt manager reject a invalid token", async () => {
const jwt = new JwtManager();

const invalidToken = faker.random.number().toString();
const invalidToken = faker.random.uuid();

const callIfTokenIsInvalid = jest.fn();

Expand Down

0 comments on commit e2012a1

Please sign in to comment.