make tests great again
This commit is contained in:
@@ -157,10 +157,10 @@ describe('System', function () {
|
||||
expect(response.statusCode).to.equal(200);
|
||||
expect(response.body.usage.ts).to.be.a('number');
|
||||
|
||||
const filesystems = Object.keys(response.body.usage.disks);
|
||||
const filesystems = Object.keys(response.body.usage.filesystems);
|
||||
let dockerUsage = null;
|
||||
for (const fs of filesystems) {
|
||||
for (const content of response.body.usage.disks[fs].contents) {
|
||||
for (const content of response.body.usage.filesystems[fs].contents) {
|
||||
if (content.id === 'docker') dockerUsage = content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user