Open jmartin-sul opened 5 years ago
Hi @jmartin-sul, should we keep this ticket this work-cycle for M4, or can we move it to the work-cycle 2?
would be a good thing to integration test w/ trellis since we're using it in the editor, but we do seem to be using it successfully, so no objection to backlogging this for now.
should be pretty straight-forward, though.
relevant test stub: https://github.com/LD4P/sinopia_server/blob/f237647d84352da62624a69e2f228012da307473/sinopia_client/test/api/LDPApi.spec.js#L437-L446
relevant usage in editor: https://github.com/LD4P/sinopia_editor/blob/a304ea635f013e4a03cce75e3fb34c811f442a5e/src/sinopiaServer.js#L169-L174
in particular, test updating a non-RDF resource as well as an RDF resource, i.e. have a test that provides a value of
{ contentType: 'application/json' }
for theopts
param, as well as one that gives{ contentType: 'application/ld+json' }
.