Skip to content

Commit

Permalink
Fix compilation of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Apr 10, 2024
1 parent 23d3511 commit de96c95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ salty = "0.3.0"
p256-cortex-m4 = { version = "0.1.0-alpha.6", features = ["prehash", "sec1-signatures"] }
admin-app = "0.1.0"

[dev-dependencies]
admin-app = { version = "0.1.0", features = ["migration-tests"] }

[patch.crates-io]
littlefs2 = { git = "https://github.com/trussed-dev/littlefs2.git", rev = "960e57d9fc0d209308c8e15dc26252bbe1ff6ba8" }
apdu-dispatch = { git = "https://github.com/trussed-dev/apdu-dispatch.git", rev = "915fc237103fcecc29d0f0b73391f19abf6576de" }
Expand Down
2 changes: 1 addition & 1 deletion src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ pub fn migrate_remove_all_dat(fs: &dyn DynFilesystem, apps: &[&Path]) -> Result<
#[allow(clippy::unwrap_used)]
#[cfg(test)]
mod tests {
use admin_app::migrations::test_utils::{test_migration_one, FsValues};
use littlefs2::path;
use trussed_staging::manage::test_utils::{test_migration_one, FsValues};

use crate::trussed_auth_impl::AUTH_DIR;

Expand Down

0 comments on commit de96c95

Please sign in to comment.