Skip to content

[WIP] Create tests for custom checkout permalink#2904

Closed
ajello-meta wants to merge 3 commits intomainfrom
test-checkout-permalink
Closed

[WIP] Create tests for custom checkout permalink#2904
ajello-meta wants to merge 3 commits intomainfrom
test-checkout-permalink

Conversation

@ajello-meta
Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request:

This PR introduces unit tests for the custom checkout permalink in the WooCommerce\Facebook\Checkout namespace. These tests ensure that the class behaves as expected when handling hooks, rewrite rules, and query variables. It also ensures that the correct checkout experience is loaded.

Detailed test instructions:

  1. Run the unit tests using the WordPress testing framework to ensure they pass successfully.
  2. Verify that the hooks were added correctly.
  3. Verify that the rewrite rules were registered correctly.
  4. Verify that the query parameters were parsed correctly.
  5. Verify that the correct checkout experience is loaded.

@ajello-meta ajello-meta changed the title Create tests for checkout permalink Create tests for custom checkout permalink Feb 25, 2025
@ajello-meta ajello-meta changed the title Create tests for custom checkout permalink [WIP] Create tests for custom checkout permalink Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants