Skip to content

Commit 5ae7907

Browse files
author
Pierre DE SOYRES
committed
test(e2e): fix log command test assertion
1 parent 61846f2 commit 5ae7907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/clients/cc-api/commands/log-commands.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ describe('log commands', function () {
143143
expect(log.source.ip).to.be.a('string');
144144
expect(log.source.port).to.be.a('number');
145145
expect(log.zone).to.be.a('string');
146-
expect(log.type).to.equal('http');
146+
expect(log.type).to.be.a('string');
147147
expect(log.detail.request.host).to.be.a('string');
148148
expect(log.detail.request.method).to.equal('GET');
149149
expect(log.detail.request.path).to.equal('/');
150-
expect(log.detail.request.scheme).to.equal('https');
150+
expect(log.detail.request.scheme).to.be.a('string');
151151
expect(log.detail.response.statusCode).to.equal(200);
152152
expect(log.detail.response.time).to.be.a('number');
153153
});

0 commit comments

Comments
 (0)