Skip to content

[11.x] Backport TestResponse::assertRedirectBack - #55780

Merged
taylorotwell merged 2 commits into
11.xfrom
redirect-back-backport
May 19, 2025
Merged

[11.x] Backport TestResponse::assertRedirectBack#55780
taylorotwell merged 2 commits into
11.xfrom
redirect-back-backport

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Collaborator

No description provided.

@GrahamCampbell
GrahamCampbell marked this pull request as ready for review May 19, 2025 09:27
@GrahamCampbell

Copy link
Copy Markdown
Collaborator Author

cc @jbrooksuk

@taylorotwell
taylorotwell merged commit 4807fee into 11.x May 19, 2025
@taylorotwell
taylorotwell deleted the redirect-back-backport branch May 19, 2025 12:53
AhmedAlaa4611 referenced this pull request in laravel/docs Jun 11, 2025
@AhmedAlaa4611

Copy link
Copy Markdown
Contributor

I think it will be cool if we have:

$response->assertRedirectBackWithErrors([
    // ...
]);

Instead of using:

$response->assertRedirectBack();
$response->assertSessionHasErrors([
    // ...
]);

@AhmedAlaa4611

AhmedAlaa4611 commented Jun 11, 2025

Copy link
Copy Markdown
Contributor

I trying to add it in: #55987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants