-
-
Save uno-de-piera/85c89ff2f2db8362e141e24a67e5b227 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function testLogin() { | |
$this->browse(function(Browser $browser) { | |
$browser->loginAs($this->user->id) | |
->visit('/home') | |
->assertSee('You are logged in!'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment