diff --git a/tests/tests/settings.rs b/tests/tests/settings.rs index 6bb8c19..24c1d37 100644 --- a/tests/tests/settings.rs +++ b/tests/tests/settings.rs @@ -15,3 +15,15 @@ async fn test_duckdb_settings(mut conn: PgConnection) -> Result<()> { Ok(()) } + +#[rstest] +async fn test_duckdb_extensions(mut conn: PgConnection) -> Result<()> { + let azure_extension: (Option,) = "SELECT extension_name + FROM duckdb_extensions() + WHERE extension_name = 'azure' + AND installed = true" + .fetch_one(&mut conn); + assert!(azure_extension.0.is_some()); + + Ok(()) +}