Skip to content

Commit

Permalink
test: reverted the updated integration tests run_block for dancebox a…
Browse files Browse the repository at this point in the history
…nd added it to starlight
  • Loading branch information
Aleksandar Brayanov committed Sep 20, 2024
1 parent 2a07c7d commit ee62b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions runtime/dancebox/src/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,9 @@ pub fn end_block() {
}

pub fn run_block() -> RunSummary {
let summary = start_block();
end_block();
summary
}

start_block()

/// Mock the inherent that sets validation data in ParachainSystem, which
/// contains the `relay_chain_block_number`, which is used in `collator-assignment` as a
Expand Down
5 changes: 2 additions & 3 deletions solo-chains/runtime/starlight/src/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,8 @@ pub fn end_block() {
}

pub fn run_block() {
end_block();

start_block()
start_block();
end_block()
}

#[derive(Default, Clone)]
Expand Down

0 comments on commit ee62b45

Please sign in to comment.