Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tjventurini/laravel-testing-helpers
- Owner: tjventurini
- License: mit
- Created: 2021-03-06T13:15:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-06T13:21:52.000Z (over 3 years ago)
- Last Synced: 2024-04-19T03:42:57.813Z (7 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
}// ...
}
```