Skip to content

Unit tests#1010

Merged
mauteri merged 2 commits intodevelopfrom
unit-tests
Feb 7, 2025
Merged

Unit tests#1010
mauteri merged 2 commits intodevelopfrom
unit-tests

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented Feb 7, 2025

Description of the Change

Closes #

How to test the Change

Changelog Entry

Added - New feature
Changed - Existing functionality
Deprecated - Soon-to-be removed feature
Removed - Feature
Fixed - Bug fix
Security - Vulnerability

Credits

Props @username, @username2, ...

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Feb 7, 2025

PR Summary

  • Addition of a New Unit Test Class
    A new unit test class named Test_Rsvp_Template has been added. This will help in conducting unit tests for the Rsvp_Template block under GatherPress\Core\Blocks, ensuring the robustness and reliability of the block.

  • Implementation of the test_setup_hooks Method
    This PR implements the method test_setup_hooks. This method is designed to confirm the correct filters are registered during the initialization of the RSVP Template block. This check ensures the block behaves as expected.

  • Definitions of Checking Hooks
    The PR also defines hooks to ensure methods ensure_block_styles_loaded and generate_rsvp_template_block are properly integrated into the render block filter. This step ensures the block loads the required styles and generates the RSVP template block correctly.

@mauteri mauteri marked this pull request as ready for review February 7, 2025 02:02
@mauteri mauteri merged commit b5edb98 into develop Feb 7, 2025
10 checks passed
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