Skip to content

Incorrect diff when using assertFetchedToOne #4

@lindyhopchris

Description

@lindyhopchris

The PHPUnit diff for assertFetchedToOne has the expected as the actual content. The expected for the diff should be the resource identifier.

Picked up on this when using the assertion when reading the related resource. The assertion correctly failed (because the content was a resource object instead of a resource identifier) but the diff was wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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