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
Original file line number Diff line number Diff line change
Expand Up @@ -1105,10 +1105,6 @@ pub(crate) async fn start_dashboard_configuration_fixture() -> DashboardFixture
start_dashboard_fixture_with_options(false, false, true).await
}

pub(crate) async fn start_dashboard_retained_memory_fixture() -> DashboardFixture {
start_dashboard_fixture_with_options(false, true, true).await
}

/// Starts a dashboard fixture with a fake `DashboardDeliveryReadPortV1` and
/// code-index freshness reader mounted, proving the admitted-PR HTTP path
/// (`GET /api/delivery/inbox`) joins the provider read with an indexed head
Expand Down
6 changes: 3 additions & 3 deletions crates/tracedecay/tests/dashboard_api_test/memory_curation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn retained_effect_payload<'a>(response: &'a Value, operation: &str) -> &'a Valu
fn retained_admin_journey_commits_add_update_feedback_and_remove() {
let runtime = create_runtime();
runtime.block_on(async {
let fixture = start_dashboard_retained_memory_fixture().await;
let fixture = start_dashboard_configuration_fixture().await;
let agent = http_agent();

let (status, added) = post_json_body(
Expand Down Expand Up @@ -214,7 +214,7 @@ fn retained_admin_journey_commits_add_update_feedback_and_remove() {
fn fact_detail_keeps_a_superseded_fact_readable_by_id() {
let runtime = create_runtime();
runtime.block_on(async {
let fixture = start_dashboard_retained_memory_fixture().await;
let fixture = start_dashboard_configuration_fixture().await;
let agent = http_agent();
let add = |content: &str| {
let (status, added) = post_json_body(
Expand Down Expand Up @@ -276,7 +276,7 @@ fn fact_detail_keeps_a_superseded_fact_readable_by_id() {
fn retained_mutations_deny_foreign_project_scope_without_a_receipt() {
let runtime = create_runtime();
runtime.block_on(async {
let fixture = start_dashboard_retained_memory_fixture().await;
let fixture = start_dashboard_configuration_fixture().await;
let agent = http_agent();
let (_target_root, target_cg) = crate::projects::setup_target_project(&fixture).await;
let target_project_id = target_cg
Expand Down
Loading