Skip to content

Commit

Permalink
test: add testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravudia committed Feb 5, 2024
1 parent ee51b26 commit 11d25fa
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion test/__tests__/data/auth0_source.json
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,50 @@
]
},
{
"description": "UserId is missing for all the requests",
"description": "Missing userId",
"input": {
"log_id": "90020221031055712103169676686005480714681762668315934738",
"data": {
"date": "2022-10-31T05:57:06.859Z",
"type": "ss",
"description": "",
"connection": "Username-Password-Authentication",
"connection_id": "con_djwCjiwyID0vZy1S",
"client_id": "vQcJNDTxsM1W72eHFonRJdzyOvawlwIt",
"client_name": "All Applications",
"ip": "35.166.202.113",
"user_agent": "unknown",
"details": {
"body": {
"email": "[email protected]",
"tenant": "dev-cu4jy2zgao6yx15x",
"password": "dummyPassword",
"client_id": "vQcJNDTxsM1W72eHFonRJdzyOvawlwIt",
"connection": "Username-Password-Authentication"
}
},
"user_id": "",
"user_name": "[email protected]",
"strategy": "auth0",
"strategy_type": "database",
"log_id": "90020221031055712103169676686005480714681762668315934738"
}
},
"output": {
"statusCode": 400,
"error": "UserId is not present",
"statTags": {
"errorCategory": "dataValidation",
"errorType": "instrumentation",
"module": "source",
"implementation": "native",
"destinationId": "Non determinable",
"workspaceId": "Non determinable"
}
}
},
{
"description": "UserId is missing for all the requests in a batch",
"input": [
{
"log_id": "90020221031055712103169676686005480714681762668315934738",
Expand Down

0 comments on commit 11d25fa

Please sign in to comment.