PHP code example of tjventurini / laravel-testing-helpers
1. Go to this page and download the library: Download tjventurini/laravel-testing-helpers library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tjventurini / laravel-testing-helpers example snippets
use Tjventurini\LaravelTestingHelpers\Traits\SupportDroppingForeignKeysSqlite;
abstract class TestCase extends BaseTestCase
{
use SupportDroppingForeignKeysSqlite;
protected function setUp(): void
{
$this->supportDroppingForeignKeys();
parent::setUp();
}
// ...
}