We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24191c5 commit 31bd1f5Copy full SHA for 31bd1f5
tests/index.rs
@@ -417,6 +417,7 @@ async fn make_app_data_for_official_website() -> actix_web::web::Data<AppState>
417
let config_path = std::path::Path::new("examples/official-site/sqlpage");
418
let mut app_config = sqlpage::app_config::load_from_directory(config_path).unwrap();
419
app_config.web_root = PathBuf::from("examples/official-site");
420
+ app_config.database_url = "sqlite::memory:".to_string(); // the official site supports only sqlite. Ignore the DATABASE_URL env var
421
let app_state = make_app_data_from_config(app_config.clone()).await;
422
webserver::database::migrations::apply(&app_config, &app_state.db)
423
.await
0 commit comments