Skip to content

Commit

Permalink
test(openapi): fix the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinzZH committed Jun 21, 2018
1 parent c61434d commit 6f70f8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/bin/tsw/util/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ logger.setLogLevel('error');
describe('test openapi', () => {
describe('test signature', () => {
it('#test empty opt', () => {
const opt = {};
expect(openapi.signature(opt)).to.equal('KN+ey6lAXAAjHfJXOHiEXkBIge4=');
expect(openapi.signature()).to.equal('WpwWYWdXU3pZcrGelrkKmp5O2Mo=');
});

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

0 comments on commit 6f70f8d

Please sign in to comment.