2 Commits

Author SHA1 Message Date
Niko
28c2263601 Refactor test to reuse EtsScraper proxyLogin/proxyImport directly
- Make proxyLogin accept (proxyHost, username, password) parameters
- Remove duplicated HTTP logic from ImportTest
- Test now calls same methods as production code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 15:44:24 +08:00
Niko
b5ecdde2ab Add import test and fix Bearer token format
- Add ImportTest to verify Excel import via ets-proxy API
- Fix authorization header: use raw token without Bearer prefix
  (UserInterceptor reads authorization header directly, not Bearer-prefixed)
- Rename downloaded file to date-based naming style

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 15:31:34 +08:00