No description or website provided.
PHP
Latest commit ef705e6 Jan 16, 2017 @taylorotwell taylorotwell committed on GitHub Merge pull request #5 from vinkla/patch-1
Update and rename LICENSE.txt to LICENSE.md
Permalink
Failed to load latest commit information.
src first Dec 6, 2016
.editorconfig first Dec 6, 2016
.gitattributes first Dec 6, 2016
.gitignore first Dec 6, 2016
LICENSE.md Update and rename LICENSE.txt to LICENSE.md Jan 16, 2017
composer.json Update email address Jan 14, 2017
readme.md Added use CreatesApplication trait Dec 26, 2016

readme.md

Laravel BrowserKit Testing

This package provides a backwards compatibility layer for Laravel 5.3 style "BrowserKit" testing on Laravel 5.4.

Installation

First, install this package:

composer require laravel/browser-kit-testing --dev

Next, modify your application's base TestCase class to extend Laravel\BrowserKitTesting\TestCase instead of Illuminate\Foundation\Testing\TestCase:

<?php

namespace Tests;

use Laravel\BrowserKitTesting\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
    use CreatesApplication;

    public $baseUrl = 'http://localhost';

    // ...
}

No other modifications to your tests should be necessary.