Skip to content

RestResponse.assertBody behavior is broken #177

Open
@paulodamaso

Description

@paulodamaso

RestResponse.assertBody behavior is broken: it is checking all the Response string when it should only check the body part of string.

This makes impossible for testing when we got an empty message body from server, because assertBody considers header section too when asserting if message body has some content.

Please refer to FtRemotesTest on https://github.com;yegor256/takes to see how this method is misbehaving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions