Skip to content

Commit 7031ffb

Browse files
committed
test: fix ordering in tests after change to primary key
1 parent 8d6ffe3 commit 7031ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stacks-signer/src/signerdb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,7 +2210,7 @@ pub mod tests {
22102210
db.add_block_signature(&block_id, &address2, &sig2).unwrap();
22112211
assert_eq!(
22122212
db.get_block_signatures(&block_id).unwrap(),
2213-
vec![sig1, sig2]
2213+
vec![sig2, sig1]
22142214
);
22152215
}
22162216

@@ -2269,8 +2269,8 @@ pub mod tests {
22692269
assert_eq!(
22702270
db.get_block_rejection_signer_addrs(&block_id).unwrap(),
22712271
vec![
2272+
(address2, RejectReasonPrefix::InvalidParentBlock),
22722273
(address1, RejectReasonPrefix::DuplicateBlockFound),
2273-
(address2, RejectReasonPrefix::InvalidParentBlock)
22742274
]
22752275
);
22762276
}

0 commit comments

Comments
 (0)