Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] Add assertViewIs() to TestResponse #19291

Merged
merged 1 commit into from
May 21, 2017
Merged

[5.4] Add assertViewIs() to TestResponse #19291

merged 1 commit into from
May 21, 2017

Conversation

marcusmoore
Copy link
Contributor

Adds assertViewIs() to allow for something like:

$this->actingAs($admin)
  ->get('dashboard')
  ->assertViewIs('admin-dashboard');

I think/hope I tested it correctly.

@tillkruss tillkruss changed the title add assertViewIs() to TestResponse [5.4] Add assertViewIs() to TestResponse May 21, 2017
@taylorotwell taylorotwell merged commit 3429b61 into laravel:5.4 May 21, 2017
@marcusmoore marcusmoore deleted the add-assert-view-is-test branch May 22, 2017 01:28
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.

2 participants