mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 03:09:50 +08:00
test(oauth): make antigravity exchange fixture deterministic
This commit is contained in:
@@ -326,7 +326,8 @@ mod tests {
|
|||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn antigravity_exchange_fetches_google_email_for_account_identity() {
|
async fn antigravity_exchange_fetches_google_email_for_account_identity() {
|
||||||
let adapter = AntigravityProviderOAuthAdapter::default();
|
let adapter = AntigravityProviderOAuthAdapter::default()
|
||||||
|
.with_oauth_credentials_for_tests("test-client-id", "test-client-secret");
|
||||||
let ctx = transport_context();
|
let ctx = transport_context();
|
||||||
let executor = GoogleOAuthExecutor::default();
|
let executor = GoogleOAuthExecutor::default();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user