test: cover the Tag admin screen - #63
Merged
Merged
Conversation
Add a tagtype module for /admin/tagtype/: add (paths, virtual host, sort order, owner-default permission), list search by name and owner with reset, validation (blank name, blank owner, whitespace-only name, a name of ideographic spaces and an over-long name rejected by the tag-name check, duplicate name and owner), update with an owner change that moves the owner permission and the id, and delete with a converging absence check. The module is skipped on Fess older than 15.9.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
tagtypemodule covering the Tag admin screen (/admin/tagtype/) that codelibs/fess#3551 adds for per-user tags in Fess 15.9. The module is modelled on thelabeltests.The module runs right after
labelin the default order and is skipped on Fess versions older than 15.9.Testing
labelandtagtypepass in English, andtagtypepasses in Japanese.Until a Fess snapshot image that includes #3551 is published,
tagtypewill fail against the current snapshot image.