Files
monica/tests/TestCase.php
T
2017-06-13 15:53:20 -04:00

25 lines
425 B
PHP

<?php
namespace Tests;
use Faker\Factory;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
public $faker;
/**
* TestCase constructor.
*/
public function __construct()
{
parent::__construct();
// Makes a Faker Factory available to all tests.
$this->faker = Factory::create();
}
}