Skip to content

test: additional test for SpecialKnowledgeGraphDesigner::getGroupName() #77

Description

@gesinn-it-gea

Goal

includes/specials/SpecialKnowledgeGraphDesigner.php:87-89 — a trivial one-liner, but currently the only untested method in this otherwise well-tested class (see tests/phpunit/Unit/specials/SpecialKnowledgeGraphDesignerTest.php).

Test scenario

  • getGroupName() returns 'knowledgegraph' (reflection needed, since it's protected).

Mocking pattern

No mocking needed; add this to the existing SpecialKnowledgeGraphDesignerTest.php following its current style.

Part of the "raise PHP coverage to ~70%" effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsPHPUnit coverage work

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions