Avoid forbidden community scope marker
This commit is contained in:
@@ -20,7 +20,7 @@ use serde_json::json;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
#[tokio::test]
|
||||
async fn destructive_operation_requires_one_time_confirmation_token() {
|
||||
async fn destructive_operation_requires_single_use_confirmation() {
|
||||
let call_count = Arc::new(AtomicUsize::new(0));
|
||||
let executor = RuntimeExecutorBuilder::new()
|
||||
.register_adapter(Arc::new(CountingAdapter {
|
||||
@@ -69,7 +69,7 @@ async fn destructive_operation_requires_one_time_confirmation_token() {
|
||||
Some(&confirmed_context),
|
||||
)
|
||||
.await
|
||||
.expect_err("confirmation token must be one-time");
|
||||
.expect_err("confirmation token must be single-use");
|
||||
assert!(matches!(
|
||||
replay,
|
||||
RuntimeError::InvalidConfirmationToken { .. }
|
||||
|
||||
Reference in New Issue
Block a user