Skip to content

CONV-311: Add API happy path feature test#271

Merged
menvil merged 1 commit into
developfrom
feature/CONV-311-add-api-happy-path-feature-test
Jun 3, 2026
Merged

CONV-311: Add API happy path feature test#271
menvil merged 1 commit into
developfrom
feature/CONV-311-add-api-happy-path-feature-test

Conversation

@menvil

@menvil menvil commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds full end-to-end happy path: upload → targets → estimate → create conversion → check status
  • Verifies estimate doesn't create jobs, status returns queued
  • Confirms all business endpoints require API key auth (401 without token)
  • Credits balance check included in happy path

Test plan

  • Full API flow passes with Queue::fake() and Storage::fake()
  • All 5 business endpoints return 401 without API key
  • Credits balance returns correct amount
  • composer test passes (596 tests)
  • composer lint passes

🤖 Generated with Claude Code


Summary by cubic

Implements CONV-311 by adding an end-to-end API happy path test that covers upload → targets → estimate → create conversion → status, plus the credits balance endpoint. Verifies API key auth (401 without token), confirms estimate does not create jobs, and ensures new conversions start in the queued state.

Written for commit fb9cb51. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 33990e30-1eee-413f-a050-755cea89a6cb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-311-add-api-happy-path-feature-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@menvil menvil merged commit 38cbd0c into develop Jun 3, 2026
1 check was pending
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