chore: refactor token path to use authTokenIdentifier

This commit is contained in:
Kayvan Sylvan
2025-07-07 13:59:13 -07:00
parent bcd4c6caea
commit 75842d8610

View File

@@ -257,7 +257,7 @@ func TestOAuthTransport_RoundTrip(t *testing.T) {
// Create a valid token
validToken := createTestToken("valid_access_token", "refresh_token", 3600)
tokenPath := filepath.Join(configDir, fmt.Sprintf(".%s_oauth", "claude"))
tokenPath := filepath.Join(configDir, fmt.Sprintf(".%s_oauth", authTokenIdentifier))
data, _ := json.MarshalIndent(validToken, "", " ")
os.WriteFile(tokenPath, data, 0600)