Skip to content

Make withoutRequestValidation() and withoutResponseValidation() attributes #40

@krzysztofrewak

Description

@krzysztofrewak

Using $this->withoutRequestValidation() and $this->withoutResponseValidation() makes tests harder to read. If we could do something like this, it would be a nice thing:

    #[WithoutRequestValidation]
    public function testFailsToChangeThePasswordForUserWithoutPasswordSetUp(): void
    {
        $currentPassword = null;

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