mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 13:51:44 +00:00
- Add tests/bootstrap.php to suppress PHP 8.4 vendor deprecation notices (Mockery implicit-nullable) - Update phpunit.xml.dist to reference bootstrap, use PHPUnit 11.5 schema, and ignore indirect deprecations - Note Laravel 13 support in README
17 lines
565 B
XML
17 lines
565 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd">
|
|
<source ignoreIndirectDeprecations="true">
|
|
<include>
|
|
<directory suffix=".php">./src</directory>
|
|
</include>
|
|
</source>
|
|
<testsuites>
|
|
<testsuite name="Laravel Cart Test Suite">
|
|
<directory>tests</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<php>
|
|
<env name="DB_CONNECTION" value="testing"/>
|
|
</php>
|
|
</phpunit>
|