Skip to content

Commit

Permalink
fix: migration test
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Jan 18, 2024
1 parent a997731 commit 3c7ecdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ mod test {
});

// setup storage for migration
set_profile_and_schema_version(&profile_before, 10);
set_profile_and_schema_version(&profile_before, 12);

// migrate storage
migrate_storage_schema_to_v13::<TestEnv>()
Expand All @@ -1042,7 +1042,7 @@ mod test {
let storage = STORAGE.read().expect("Should lock");

assert_eq!(
&11.to_string(),
&13.to_string(),
storage
.get(SCHEMA_VERSION_STORAGE_KEY)
.expect("Should have the schema set"),
Expand Down

0 comments on commit 3c7ecdb

Please sign in to comment.