test fixes... test didnt have user-agent

This commit is contained in:
Michael Shanks 2020-06-03 17:21:49 +01:00
parent a483004e1d
commit 70c24b5b1f
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +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",
} }
exports.createModel = async (request, instanceId, model) => { exports.createModel = async (request, instanceId, model) => {