mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
refactor: include latest changes from core#145
This commit is contained in:
@@ -28,12 +28,12 @@ describe('Thing update route', async function () {
|
||||
const thingUpdateRoute = new SCThingUpdateRoute();
|
||||
|
||||
it('should update a thing', async function () {
|
||||
const thingUpdateRouteUrlFragment = thingUpdateRoute.urlFragment.toLocaleLowerCase()
|
||||
const thingUpdateRouteurlPath = thingUpdateRoute.urlPath.toLocaleLowerCase()
|
||||
.replace(':type', book.type)
|
||||
.replace(':uid', book.uid);
|
||||
|
||||
const {status} = await testApp
|
||||
.put(thingUpdateRouteUrlFragment)
|
||||
.put(thingUpdateRouteurlPath)
|
||||
.set('Content-Type', 'application/json')
|
||||
.send(book);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user