Skip to content

Commit

Permalink
test(e2e): homogenize profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 19, 2021
1 parent e184542 commit 7798e19
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions test/e2e/profiles/email/identity.traits.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
Expand All @@ -34,6 +40,14 @@
"title": "Age",
"type": "number",
"maximum": 300
},
"consent": {
"title": "Consent",
"type": "boolean"
},
"newsletter": {
"title": "Newsletter",
"type": "boolean"
}
},
"required": [
Expand Down
6 changes: 4 additions & 2 deletions test/e2e/profiles/spa/identity.traits.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"title": "Your E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
Expand All @@ -27,6 +27,7 @@
}
},
"website": {
"title": "Your website",
"type": "string",
"format": "uri",
"minLength": 10
Expand All @@ -37,7 +38,8 @@
},
"age": {
"title": "Age",
"type": "number"
"type": "number",
"maximum": 300
},
"consent": {
"title": "Consent",
Expand Down

0 comments on commit 7798e19

Please sign in to comment.