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

[enh] Check a bit more the members' exclusion

parent fdbba228
No related branches found
No related tags found
No related merge requests found
......@@ -59,12 +59,14 @@ describe("Identities kicking by certs", function() {
yield tac.cert(tuc);
yield tuc.cert(cat);
yield tuc.join();
yield s1.commit({ time: now + 10 });
yield s1.commit({ time: now + 10 });
yield s1.commit({ time: now + 10 });
yield s1.commit({ time: now + 8 });
yield s1.commit({ time: now + 8 });
yield s1.commit({ time: now + 8 });
yield s1.commit({ time: now + 8 });
yield s1.commit({ time: now + 8 });
}));
it('block#6 should have kicked 2 member', () => s1.expectThat('/blockchain/block/6', (res) => {
it('block#7 should have kicked 2 member', () => s1.expectThat('/blockchain/block/7', (res) => {
assert.equal(res.excluded.length, 2);
}));
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment