Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions crates/bcr-ebill-api/src/service/bill_service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3729,8 +3729,10 @@ pub mod tests {
.expect_send_bill_is_sold_event()
.returning(|_, _| Ok(()));

// Populates identity block
expect_populates_identity_block(&mut ctx);
// Populates identity block and company block
ctx.notification_service
.expect_send_identity_chain_events()
.returning(|_| Ok(()));

let service = get_service(ctx);

Expand Down Expand Up @@ -3785,7 +3787,9 @@ pub mod tests {
.returning(|_, _| Ok(()));

// Populates identity block and company block
expect_populates_identity_block(&mut ctx);
ctx.notification_service
.expect_send_identity_chain_events()
.returning(|_| Ok(()));

let service = get_service(ctx);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,7 @@ pub trait NotificationServiceApi: ServiceTraitBounds {

/// Fetch email notifications preferences link for the currently selected identity
async fn get_email_notifications_preferences_link(&self, node_id: &NodeId) -> Result<url::Url>;

/// Resync bill chain
async fn resync_bill_chain(&self, bill_id: &BillId) -> Result<()>;
}
Loading
Loading