Skip to content

Commit d8375b2

Browse files
xdev00kevincodex1
andauthored
test(node): add missing owner_did field to fails-closed seed update (#229)
PRs #113 and #145 raced: #145 added owner_did to ReceivedRefUpdate and updated its own call sites, but the seed initializer in list_repo_events_fails_closed_when_repo_lookup_errors (added by #113) was never updated, so main fails to compile test targets (E0063). This breaks clippy --all-targets, both test jobs, and MSRV on CI, including the release PR #182. owner_did stays None here on purpose: the test exercises the legacy None-branch slug fallback. Co-authored-by: Kevin Codex <kevin@gitlawb.com>
1 parent 98d728c commit d8375b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/gitlawb-node/src/test_support.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,6 +1577,7 @@ mod tests {
15771577
cert_id: None,
15781578
received_at: Utc::now().to_rfc3339(),
15791579
from_peer: "peer".to_string(),
1580+
owner_did: None,
15801581
})
15811582
.await
15821583
.expect("seed private gossip update");

0 commit comments

Comments
 (0)