Skip to content

tests: Check handling actions without button #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 7, 2025
Merged

Conversation

jtojnar
Copy link
Collaborator

@jtojnar jtojnar commented Jun 7, 2025

Remove button was broken, let’s explicitly disallow this. We should do the same for create button but for now, I am just adding incomplete test.

jtojnar added 3 commits June 7, 2025 23:39
This would have caused an exception anyway since the `removeButton` property would have been `null`:

    [Error] Call to a member function create() on null
This was fixed in 9e0847c but there was no test.

Also add a comment since the code is non-obvious.
Currently, it is allowed so mark the test as ignored.
@jtojnar jtojnar merged commit 73dd4cd into master Jun 7, 2025
17 checks passed
@jtojnar jtojnar deleted the action-without-button branch June 7, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant