Skip to content

Commit

Permalink
update tests to new sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitRanque committed Jan 1, 2025
1 parent 0772153 commit 37bf016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/tests/tests-common/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub async fn create_router(
)]);
let setup = PostgresSetup::new(environment);

let state = ndc_sdk::default_main::init_server_state(setup, &absolute_configuration_directory)
let state = ndc_sdk::state::init_server_state(setup, &absolute_configuration_directory)
.await
.unwrap();

ndc_sdk::default_main::create_router(state, None)
ndc_sdk::default_main::create_router(state, None, None)
}

0 comments on commit 37bf016

Please sign in to comment.