Skip to content

Commit e74514a

Browse files
committed
test: fix /config/version
1 parent 0fa7587 commit e74514a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('/config/version', () => {
8888
const res = await axios.get(`${URL}/config/version`)
8989
// console.log('res.data', res.data)
9090
assert.equal(res.status, STATUS.SUCCESS)
91-
assert.match(res.data.version_number, /^\d{6}$/)
91+
assert.match(`${res.data.version_number}`, /^\d{6}$/)
9292
})
9393
})
9494
describe('/schemas', () => {

0 commit comments

Comments
 (0)