Disable lumen middleware for functional tests

Lumen doesn't come with the "WithoutMiddleware" trait that Laravel comes with. So when writing functional tests with Lumen, you have to use $this->app->instance('middleware.disable', true); in your setup function.

public function setUp()
{
    parent::setUp();
    $this->app->instance('middleware.disable', true);
}