Skip to content

$response->assertSessionHasErrors('dob'); Gives following Error : Session is missing expected key [errors].  #3

@ghost

Description

Thanks for the great tutorial. I was trying to follow this tutorial but i am getting some error while running validation tests. I am using Laravel version 6.9.0.

The error is getting following:

Session is missing expected key [errors]..

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

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