mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
Stabilize wallet today usage test timing
This commit is contained in:
@@ -4133,7 +4133,7 @@ async fn gateway_handles_wallet_balance_locally_without_proxying_upstream() {
|
|||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn gateway_handles_wallet_today_cost_locally_without_proxying_upstream() {
|
async fn gateway_handles_wallet_today_cost_locally_without_proxying_upstream() {
|
||||||
let auth_now = Utc::now();
|
let auth_now = Utc::now();
|
||||||
let usage_now = auth_now - chrono::Duration::minutes(30);
|
let usage_now = auth_now;
|
||||||
let user = sample_auth_user(auth_now);
|
let user = sample_auth_user(auth_now);
|
||||||
let access_token = build_test_auth_token(
|
let access_token = build_test_auth_token(
|
||||||
"access",
|
"access",
|
||||||
|
|||||||
Reference in New Issue
Block a user