Change integration count assertion
This commit is contained in:
parent
f104e66acf
commit
5226385367
|
@ -12,7 +12,7 @@ export default class IntegrationsAPI {
|
||||||
const [response, json] = await this.client.get(`/integrations`)
|
const [response, json] = await this.client.get(`/integrations`)
|
||||||
expect(response).toHaveStatusCode(200)
|
expect(response).toHaveStatusCode(200)
|
||||||
const integrationsCount = Object.keys(json).length
|
const integrationsCount = Object.keys(json).length
|
||||||
expect(integrationsCount).toBe(16)
|
expect(integrationsCount).toBeGreaterThan(0)
|
||||||
return [response, json]
|
return [response, json]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue