fixing header in tests

This commit is contained in:
Martin McKeaveney 2020-06-03 19:39:53 +01:00
parent 07cf98b0de
commit 3d95f4cd58
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ exports.supertest = async () => {
exports.defaultHeaders = { exports.defaultHeaders = {
Accept: "application/json", Accept: "application/json",
Cookie: ["builder:token=test-admin-secret"], Cookie: ["builder:token=test-admin-secret"],
"user-agent": "Budibase Builder", "x-user-agent": "Budibase Builder",
} }
exports.createModel = async (request, instanceId, model) => { exports.createModel = async (request, instanceId, model) => {