2015-12-06 19:58:49 +01:00
|
|
|
<?php
|
|
|
|
|
2017-06-14 06:25:37 +02:00
|
|
|
namespace Tests;
|
2015-12-06 19:58:49 +01:00
|
|
|
|
2017-06-14 06:25:37 +02:00
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
2015-12-06 19:58:49 +01:00
|
|
|
|
2017-06-14 06:25:37 +02:00
|
|
|
abstract class TestCase extends BaseTestCase
|
|
|
|
{
|
2017-07-01 22:29:49 +02:00
|
|
|
use CreatesApplication;
|
2017-06-25 02:49:09 +02:00
|
|
|
|
2017-10-08 06:29:08 +02:00
|
|
|
/**
|
|
|
|
* Setup tests.
|
|
|
|
*/
|
2017-06-25 02:49:09 +02:00
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
2017-10-08 06:29:08 +02:00
|
|
|
|
|
|
|
$this->setKnownUuidFactory();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handles the known UUID handling in certain unit tests. Use the "KnownUuid" trait
|
|
|
|
* in order to enable this ability.
|
|
|
|
*/
|
|
|
|
public function setKnownUuidFactory()
|
|
|
|
{
|
|
|
|
// do nothing
|
2017-06-25 02:49:09 +02:00
|
|
|
}
|
2015-12-06 19:58:49 +01:00
|
|
|
}
|