0.5.1-pre.006
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: ks-pipeline-demo-scenarios/src/metadata/metaplex_token_metadata/print_burn_campaign.rs
|
||||
// version: 7
|
||||
// version: 8
|
||||
|
||||
//! Devnet printable master NFT `Print -> Burn` campaign.
|
||||
|
||||
@@ -1180,13 +1180,16 @@ mod tests {
|
||||
let path = std::path::PathBuf::from(value);
|
||||
if path.is_absolute() { path } else { workspace_root.join(path) }
|
||||
},
|
||||
std::result::Result::Err(_) => workspace_root.join("config/app.config.json"),
|
||||
std::result::Result::Err(_) => {
|
||||
workspace_root.join("config/ks-pipeline-demo-scenarios.default.config.json")
|
||||
},
|
||||
};
|
||||
let config = ks_config::read_config_json_file_with_environment(
|
||||
let composed = ks_config::read_composed_app_config_with_environment(
|
||||
config_path.as_path(),
|
||||
workspace_root,
|
||||
)
|
||||
.unwrap_or_else(|error| panic!("Devnet configuration loading failed: {error}"));
|
||||
let config = composed.app_config;
|
||||
let profile_name = std::env::var("KS_DEVNET_PROFILE").ok();
|
||||
let mut profile = crate::resolve_demo_devnet_profile(&config, profile_name.as_deref())
|
||||
.unwrap_or_else(|error| panic!("Devnet profile resolution failed: {error}"));
|
||||
|
||||
Reference in New Issue
Block a user