Update Pest PHP
This commit is contained in:
parent
b7a617aa62
commit
6d8e9de3d7
|
@ -25,7 +25,7 @@
|
|||
"spatie/laravel-medialibrary": "^11.0",
|
||||
"laravel/framework": "^10.0",
|
||||
"spatie/laravel-data": "^3.1",
|
||||
"pestphp/pest": "^1.22"
|
||||
"pestphp/pest": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^8.0",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
12
phpunit.xml
12
phpunit.xml
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
colors="true"
|
||||
>
|
||||
|
@ -9,11 +9,6 @@
|
|||
<directory suffix="Test.php">./tests/Feature</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">./src</directory>
|
||||
</include>
|
||||
</coverage>
|
||||
<php>
|
||||
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
|
||||
<env name="APP_ENV" value="testing"/>
|
||||
|
@ -27,4 +22,9 @@
|
|||
<env name="SESSION_DRIVER" value="array"/>
|
||||
<env name="TELESCOPE_ENABLED" value="false"/>
|
||||
</php>
|
||||
<source>
|
||||
<include>
|
||||
<directory suffix=".php">./src</directory>
|
||||
</include>
|
||||
</source>
|
||||
</phpunit>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Auth\Access\Gate;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Workbench\App\Models\Post;
|
||||
use Workbench\App\Policies\PostPolicy;
|
||||
|
|
Loading…
Reference in New Issue