fixing tests
This commit is contained in:
parent
18ad679d21
commit
f5bcaa4ba0
|
@ -176,8 +176,7 @@ const createUserWithPermissions = async (
|
||||||
const designDoc = await db.get("_design/database")
|
const designDoc = await db.get("_design/database")
|
||||||
|
|
||||||
const loginResult = await request
|
const loginResult = await request
|
||||||
.post(`/api/authenticate`)
|
.post(`/${designDoc.metadata.applicationId}/api/authenticate`)
|
||||||
.set("Referer", `http://localhost:4001/${designDoc.metadata.applicationId}`)
|
|
||||||
.send({ username, password })
|
.send({ username, password })
|
||||||
|
|
||||||
// returning necessary request headers
|
// returning necessary request headers
|
||||||
|
|
Loading…
Reference in New Issue