Skip to content

Incorrectly tests the results of MSC2946 /hierarchy response #416

@clokep

Description

@clokep

The tests for the /hierarchy endpoint are incorrect in that they assume each entry in children_state includes a room_id field. This was removed from MSC2946 at some point, but was never updated in complement.

Synapse no longer depends on this field as of matrix-org/synapse#12991, but still returns it. I assume Dendrite also returns it since those tests are skipped there.

I believe this would affect:

To test using Synapse I was running the following in my Synapse checkout:

$ COMPLEMENT_DIR=~/matrix/complement ./scripts-dev/complement.sh -run "TestClientSpacesSummary|TestClientSpacesSummaryJoinRules|TestFederatedClientSpaces|TestRestrictedRoomsSpacesSummaryLocal|TestRestrictedRoomsSpacesSummaryFederation"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions