marklogic-community / marklogicworkflow

Content and Human Centric Workflow for MarkLogic NoSQL systems
Other
19 stars 12 forks source link

Migrate shtests to Roxy tests #111

Closed eouthwaite closed 6 years ago

eouthwaite commented 7 years ago

I love having tests. I hate having tests where I don't understand whether they are passing or failing.

eouthwaite commented 6 years ago

issue with tests (probably affecting shtests results too): '+' symbol in dateTime portion of processId is sometimes passed as a space: 32dda607-8a62-4d86-9281-05bed8d66b1a-2017-09-15T17:06:00.536331+01:00 32dda607-8a62-4d86-9281-05bed8d66b1a-2017-09-15T17:06:00.536331 01:00

eouthwaite commented 6 years ago

need to encode '+' as %2B

uri=http://localhost:8042/v1/resources/process?rs:processid=32dda607-8a62-4d86-9281-05bed8d66b1a-2017-09-15T17:06:00.536331+01:00&rs:complete=true

REST EXT params={"complete":"true", "processid":"32dda607-8a62-4d86-9281-05bed8d66b1a-2017-09-15T17:06:00.536331 01:00"}

https://docs.marklogic.com/fn:encode-for-uri

eouthwaite commented 6 years ago

All tests have been created