Skip to content

Conversation

@germankay
Copy link
Collaborator

fixes #25

Related #24 (comment)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive test coverage for the iati_tab_enabled helper function to fix issue #25. The tests verify that the helper correctly handles the ckanext.iati_generator.hide_tab configuration option.

  • Adds three test methods to validate the iati_tab_enabled helper function behavior
  • Tests the function's response to different configuration states (true, false, and undefined)
  • Ensures proper fallback to default behavior when configuration is not set

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.

Test function

2 participants