Skip to content

Commit 39e306a

Browse files
test(dashboard): expose fixture database paths
1 parent 1d4defa commit 39e306a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/dashboard_api_test/runtime.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ impl DashboardTestRuntimeV1 {
109109
}
110110
}
111111

112+
pub(crate) fn database_path(&self, scope: HostAdmissionScope) -> Option<&Path> {
113+
self.database(scope).ok().map(RegisteredGlobalDb::db_path)
114+
}
115+
112116
fn primary_session_database(&self) -> &RegisteredGlobalDb {
113117
self.databases
114118
.project_database()

0 commit comments

Comments
 (0)