Skip to content

fix(api): update bbox test for video_count > 0 filter - #43

Merged
kelleyglenn merged 1 commit into
masterfrom
fix/update-location-bbox-test
Feb 24, 2026
Merged

fix(api): update bbox test for video_count > 0 filter#43
kelleyglenn merged 1 commit into
masterfrom
fix/update-location-bbox-test

Conversation

@kelleyglenn

Copy link
Copy Markdown
Owner

Summary

Updates the location bounding box API test to work with the new video_count > 0 filter added in location-service#21.

  • The test previously created a new location (which has video_count = 0) and expected it in bbox results
  • Now queries the SF Bay Area bbox against seed data locations (which have video_count > 0)
  • Verifies seed location "San Francisco City Hall" (20000000-0000-0000-0000-000000000001) is returned

Refs kelleyglenn/AcctAtlas-video-service#49, kelleyglenn/AcctAtlas-location-service#17

Test plan

  • npm run test:api — 107 passed, 4 skipped
  • npm run test:e2e — 197 passed

🤖 Generated with Claude Code

Location service now filters locations with zero videos from bbox
queries. Update the test to query SF Bay Area seed data (which has
video_count > 0) instead of creating a new location without videos.

Refs video-service#49, location-service#17

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kelleyglenn
kelleyglenn merged commit 2f16b18 into master Feb 24, 2026
2 checks passed
@kelleyglenn
kelleyglenn deleted the fix/update-location-bbox-test branch February 24, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant