Commit 07c21780 authored by Cédric Moreau's avatar Cédric Moreau

[fix] test need to be force v11

parent 4ab11897
......@@ -12,6 +12,7 @@
// GNU Affero General Public License for more details.
import {assertEqual, writeBasicTestWithConfAnd2Users} from "../tools/test-framework"
import {CommonConstants} from "../../../app/lib/common-libs/constants"
describe('Certification expiry + trimming', () => writeBasicTestWithConfAnd2Users({
sigReplay: 3,
......@@ -19,6 +20,10 @@ describe('Certification expiry + trimming', () => writeBasicTestWithConfAnd2User
sigValidity: 10,
}, (test) => {
before(() => {
CommonConstants.BLOCK_NEW_GENERATED_VERSION = 11
})
const now = 1500000000
test('should be able to init with 2 blocks', async (s1, cat, tac, toc) => {
......@@ -102,4 +107,8 @@ describe('Certification expiry + trimming', () => writeBasicTestWithConfAnd2User
[2] [0] [0] [2] ->
`)
})
after(() => {
CommonConstants.BLOCK_NEW_GENERATED_VERSION = 10
})
}))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment