Skip to content

Commit

Permalink
tests: Fix tag title length test
Browse files Browse the repository at this point in the history
  • Loading branch information
diego3g committed Aug 9, 2021
1 parent 3f646d2 commit 462ac1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/subscriptions/domain/tag/title.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ describe('Template title value object', () => {
expect(titleOrError.isRight()).toBeTruthy()
})

it('should reject titles with less than 4 characters', () => {
const titleOrError = Title.create('asd')
it('should reject titles with less than 3 characters', () => {
const titleOrError = Title.create('as')

expect(titleOrError.isLeft()).toBeTruthy()
})
Expand Down

0 comments on commit 462ac1f

Please sign in to comment.