italia / spid-express

Express middleware implementing SPID & Entra con CIE (Carta d'Identità Elettronica)
MIT License
40 stars 16 forks source link

Test [110] Attributo IssueInstant specificato con millisecondi. #44

Open matfur92 opened 3 years ago

matfur92 commented 3 years ago

Testing with spid-sp-test, there is one error on test number 110:

DEBUG:urllib3.connectionpool:https://domain:post "POST /acs HTTP/1.1" 302 93
DEBUG:urllib3.connectionpool:https://domain:post "GET /error?errorMessage=Error:%20IssueInstant%20must%20be%20in%20the%20past HTTP/1.1" 500 17
DEBUG:spid_sp_test:Response http status code [500]: {"error":"error"}
ERROR:spid_sp_test:Test [110] Attributo IssueInstant specificato con millisecondi. Risultato atteso: Ok: [http status_code: 500]

Probably is something related to the format

matfur92 commented 3 years ago

Here the value used by the test:

 IssueInstant="2021-06-11T14:35:15.832Z"
matfur92 commented 3 years ago

Here another test case:

IssueInstant="2021-06-11T16:11:59.428751"