Fix environment test.
This commit is contained in:
parent
265000f7e1
commit
43560b3269
|
@ -9,6 +9,7 @@ export class EnvironmentAPI extends TestAPI {
|
||||||
getEnvironment = () => {
|
getEnvironment = () => {
|
||||||
return this.request
|
return this.request
|
||||||
.get(`/api/system/environment`)
|
.get(`/api/system/environment`)
|
||||||
|
.set(this.config.defaultHeaders())
|
||||||
.expect("Content-Type", /json/)
|
.expect("Content-Type", /json/)
|
||||||
.expect(200)
|
.expect(200)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue