Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tjventurini/laravel-testing-helpers

Helpers to test your laravel application.
https://github.com/tjventurini/laravel-testing-helpers

Last synced: 10 days ago
JSON representation

Helpers to test your laravel application.

Awesome Lists containing this project

README

        

# Laravel Testing Helpers

Helpers to test your laravel application.

## Usage

```
composer require --dev tjventurini/laravel-testing-helpers
```

## Support Dropping Foreign Keys in SQLite

Add the following to your base test case.

```php
use Tjventurini\LaravelTestingHelpers\Traits\SupportDroppingForeignKeysSqlite;

abstract class TestCase extends BaseTestCase
{
use SupportDroppingForeignKeysSqlite;

protected function setUp(): void
{
$this->supportDroppingForeignKeys();
parent::setUp();
}

// ...
}
```