Skip to content

Commit

Permalink
Fixed validator test
Browse files Browse the repository at this point in the history
Signed-off-by: quobix <[email protected]>
  • Loading branch information
daveshanley committed Sep 2, 2023
1 parent 7f706ab commit 856aaf3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions validation/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func init() {

func TestNewValidator(t *testing.T) {

validator := NewValidator(doc)
validator := NewHttpValidator(doc)
assert.NotNil(t, validator)
assert.NotNil(t, validator.doc)
assert.NotNil(t, validator.requestValidator)
assert.NotNil(t, validator.responseValidator)
assert.NotNil(t, validator.paramValidator)
}

0 comments on commit 856aaf3

Please sign in to comment.