profile name sent with every table from now on
This commit is contained in:
@@ -63,6 +63,7 @@ pub(crate) fn linkable_tables(
|
||||
#[cfg(test)]
|
||||
pub(crate) mod tests {
|
||||
use super::*;
|
||||
use crate::pages::GLOBAL_SCOPE;
|
||||
|
||||
pub(crate) fn table(name: &str, global: bool) -> Table {
|
||||
Table {
|
||||
@@ -72,6 +73,11 @@ pub(crate) mod tests {
|
||||
row_display_columns: Vec::new(),
|
||||
table_kind: "dynamic".to_string(),
|
||||
global,
|
||||
profile_name: if global {
|
||||
GLOBAL_SCOPE.to_string()
|
||||
} else {
|
||||
"test_profile".to_string()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user