Merge pull request #816 from matthiasbeyer/libimagstore/test-storeid-name-fix

Fix test StoreId name
This commit is contained in:
Matthias Beyer 2016-10-18 20:52:42 +02:00 committed by GitHub
commit 3567606008

View file

@ -2941,7 +2941,7 @@ aspect = "test"
#[test] #[test]
fn test_post_delete_allowed_error() { fn test_post_delete_allowed_error() {
let store = get_store_with_allowed_error_hook_at_pos(HP::PostDelete); let store = get_store_with_allowed_error_hook_at_pos(HP::PostDelete);
let pb = StoreId::new_baseless(PathBuf::from("test_pre_delete_allowed_error")).unwrap(); let pb = StoreId::new_baseless(PathBuf::from("test_post_delete_allowed_error")).unwrap();
assert!(store.create(pb.clone()).is_ok()); assert!(store.create(pb.clone()).is_ok());
let pb = pb.with_base(store.path().clone()); let pb = pb.with_base(store.path().clone());