Skip to content

Commit 86f9494

Browse files
committed
test(version): change test to 6-digit number regex
So it doesn't fail when the Postgres version is updated--we just want to check if it doesn't error out.
1 parent 22e629c commit 86f9494

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.equal(res.data.version_number, '130001')
91+
assert.match(res.data.version_number, /^\d{6}$/)
9292
})
9393
})
9494
describe('/schemas', () => {

0 commit comments

Comments
 (0)