Created
April 13, 2015 17:59
-
-
Save JeffreyWay/450251a2d528f9a78293 to your computer and use it in GitHub Desktop.
Access Laravel from a test that uses the Integrated Selenium extension. https://github.com/laracasts/integrated
This file contains hidden or 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
use Laracasts\Integrated\Extensions\Selenium; | |
use Laracasts\Integrated\Services\Laravel\Application as Laravel; | |
class AuthTest extends Selenium | |
{ | |
use Laravel; | |
/** | |
* @tearDown | |
*/ | |
function cleanDatabase() | |
{ | |
DB::table('users')->truncate(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment