Skip to content

test: add http_01 get_content() coverage#73

Draft
toddr-bot wants to merge 1 commit intomainfrom
koan.toddr.bot/test-http01-get-content
Draft

test: add http_01 get_content() coverage#73
toddr-bot wants to merge 1 commit intomainfrom
koan.toddr.bot/test-http01-get-content

Conversation

@toddr-bot
Copy link
Copy Markdown
Contributor

What

Add tests for http_01::get_content() — the only user-facing challenge method that lacked coverage.

Why

All other challenge methods (dns_01::get_record_value(), dns_account_01::get_record_value(), http_01::get_path()) have direct tests. get_content() was the gap.

Testing

Two new tests added to t/Net-ACME2-Challenge-http_01-Handler.t:

  • Dies without ACME instance
  • Returns correct key authorization from ACME object

Full test suite passes (12 tests in handler file, all suite tests pass).

🤖 Generated with Claude Code

get_content() was the only user-facing challenge method without tests.
Add two tests: dies without ACME instance, returns key authorization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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