Commit Graph

8 Commits (f7270d954919e9f4bbc71546e10475648df910da)

Author SHA1 Message Date
-LAN- f7270d9549
fix: Fix failing unit tests after ORM query refactoring
- Fix double dot issue in _build_from_tool_file extension handling
- Update test mocks to use .where() instead of .filter() to match refactored ORM queries
- Update test mocks to use db.session.scalar instead of db.session.query for single result queries
- Fix mock_tool_file fixture to properly patch db.session.scalar

All 367 tests in factories and services modules now pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
9 months ago
Asuka Minato 1cc9fc4694
ctrl f replace 9 months ago
Asuka Minato f9e4c65721
mock 9 months ago
Jason Young 8c3e390172
test: add comprehensive integration tests for API key authentication system (#22856) 9 months ago
Jason Young db09e7386f
test: add comprehensive unit tests for AuthType (#22742) 9 months ago
Jason Young c7382150b5
test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers (#22705) 10 months ago
Jason Young 274142c4c2
test: add comprehensive unit tests for auth service module (#22662) 10 months ago
Jason Young f2389771cf
test: add comprehensive API key authentication service tests (#22572) 10 months ago