Skip to content
Snippets Groups Projects
Commit 07c21780 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] test need to be force v11

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