test: update test files

This commit is contained in:
Michel Jonathan Schmitz
2020-05-13 08:47:30 +02:00
parent d30de896f0
commit 9f9167c9c7
3 changed files with 56 additions and 19 deletions

View File

@@ -77,7 +77,9 @@ export class PluginClientSpec {
expect(httpClient.request).to.have.been.first.called.with({
body: request,
headers: {},
headers: {
"Content-Type": "application/json",
},
method: pluginRegisterRoute.method,
url: new URL(`http://localhost${pluginRegisterRoute.getUrlFragment()}`),
});
@@ -106,7 +108,9 @@ export class PluginClientSpec {
expect(httpClient.request).to.have.been.first.called.with({
body: request,
headers: {},
headers: {
"Content-Type": "application/json",
},
method: pluginRegisterRoute.method,
url: new URL(`http://localhost${pluginRegisterRoute.getUrlFragment()}`),
});