Skip to content

Commit

Permalink
Merge pull request #429 from supertokens/fix/failing-tests-related-to…
Browse files Browse the repository at this point in the history
…-any-type-support

fix: Failing tests related to checking invalid input in formFields
  • Loading branch information
rishabhpoddar authored Sep 24, 2024
2 parents 84851f5 + 8c7bf43 commit ae70651
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipe/emailpassword/formFieldValidator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ func TestInvalidAPIInputForFormFields(t *testing.T) {
},
},
},
expected: "formFields must be an array of objects containing id and value of type string",
fieldError: false,
expected: "Field is not optional",
fieldError: true,
},
{
input: map[string]interface{}{
Expand All @@ -179,8 +179,8 @@ func TestInvalidAPIInputForFormFields(t *testing.T) {
},
},
},
expected: "formFields must be an array of objects containing id and value of type string",
fieldError: false,
expected: "Field is not optional",
fieldError: true,
},
{
input: map[string]interface{}{
Expand Down

0 comments on commit ae70651

Please sign in to comment.