test(runtime): fix postgres and browser test compatibility after rebase
This commit is contained in:
parent
3aed919c47
commit
701f293785
@ -458,7 +458,7 @@ mod tests {
|
||||
"public",
|
||||
"memories",
|
||||
Some(1),
|
||||
"disable",
|
||||
false,
|
||||
)
|
||||
});
|
||||
|
||||
|
||||
@ -2647,7 +2647,11 @@ mod tests {
|
||||
#[cfg(feature = "browser-native")]
|
||||
#[test]
|
||||
fn reset_session_is_idempotent_without_client() {
|
||||
tokio_test::block_on(async {
|
||||
let runtime = tokio::runtime::Builder::new_current_thread()
|
||||
.enable_all()
|
||||
.build()
|
||||
.expect("current-thread tokio runtime should build for browser test");
|
||||
runtime.block_on(async {
|
||||
let mut state = native_backend::NativeBrowserState::default();
|
||||
state.reset_session().await;
|
||||
state.reset_session().await;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user