Page MenuHomeDevCentral

TestCase.php
No OneTemporary

TestCase.php

<?php
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**
* The base URL to use while testing the application.
*
* @var string
*/
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
return $app;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 29, 14:00 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2792923
Default Alt Text
TestCase.php (532 B)

Event Timeline