Skip to content

Commit 6f70f8d

Browse files
committed
test(openapi): fix the unit test
1 parent c61434d commit 6f70f8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/bin/tsw/util/openapi.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ logger.setLogLevel('error');
99
describe('test openapi', () => {
1010
describe('test signature', () => {
1111
it('#test empty opt', () => {
12-
const opt = {};
13-
expect(openapi.signature(opt)).to.equal('KN+ey6lAXAAjHfJXOHiEXkBIge4=');
12+
expect(openapi.signature()).to.equal('WpwWYWdXU3pZcrGelrkKmp5O2Mo=');
1413
});
1514

1615
it('#test GET :/api', () => {

0 commit comments

Comments
 (0)