Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Jan 27, 2022
1 parent a1001c7 commit 07a2437
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions runtime/parachains/src/inclusion/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_b_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::UnscheduledCandidate
);
Expand Down Expand Up @@ -1044,7 +1043,6 @@ fn candidate_checks() {
vec![backed_b, backed_a],
vec![chain_a_assignment.clone(), chain_b_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::UnscheduledCandidate
);
Expand Down Expand Up @@ -1078,7 +1076,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::InsufficientBacking
);
Expand Down Expand Up @@ -1114,7 +1111,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::CandidateNotInParentContext
);
Expand Down Expand Up @@ -1154,7 +1150,6 @@ fn candidate_checks() {
thread_a_assignment.clone(),
],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::WrongCollator,
);
Expand Down Expand Up @@ -1193,7 +1188,6 @@ fn candidate_checks() {
vec![backed],
vec![thread_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::NotCollatorSigned
);
Expand Down Expand Up @@ -1244,7 +1238,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::CandidateScheduledBeforeParaFree
);
Expand Down Expand Up @@ -1285,7 +1278,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::CandidateScheduledBeforeParaFree
);
Expand Down Expand Up @@ -1330,7 +1322,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::PrematureCodeUpgrade
);
Expand Down Expand Up @@ -1365,7 +1356,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Err(Error::<Test>::ValidationDataHashMismatch.into()),
);
Expand Down Expand Up @@ -1401,7 +1391,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::InvalidValidationCodeHash
);
Expand Down Expand Up @@ -1437,7 +1426,6 @@ fn candidate_checks() {
vec![backed],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
),
Error::<Test>::ParaHeadMismatch
);
Expand Down Expand Up @@ -1607,7 +1595,6 @@ fn backing_works() {
thread_a_assignment.clone(),
],
&group_validators,
FullCheck::Yes,
)
.expect("candidates scheduled, in order, and backed");

Expand Down Expand Up @@ -1805,7 +1792,6 @@ fn can_include_candidate_with_ok_code_upgrade() {
vec![backed_a],
vec![chain_a_assignment.clone()],
&group_validators,
FullCheck::Yes,
)
.expect("candidates scheduled, in order, and backed");

Expand Down

0 comments on commit 07a2437

Please sign in to comment.