Skip to content

Commit

Permalink
Update Pest to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kpscyber committed Sep 28, 2024
1 parent e086c84 commit e3f4a75
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 53 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"pest_2.35.1","defects":[],"times":{"Soap\\ThaiAddresses\\Tests\\Unit\\ProvinceTest::a_province_has_name_en":0.012,"Soap\\ThaiAddresses\\Tests\\Unit\\ProvinceTest::a_province_has_name_th":0,"Soap\\ThaiAddresses\\Tests\\Unit\\ProvinceTest::a_province_belongs_to_region":0.002,"Soap\\ThaiAddresses\\Tests\\Unit\\DatabaseSeederTest::district_record_exists":0.007,"Soap\\ThaiAddresses\\Tests\\Unit\\DatabaseSeederTest::geography_records_exists":0,"Soap\\ThaiAddresses\\Tests\\Unit\\DatabaseSeederTest::province_records_existsh":0.001,"Soap\\ThaiAddresses\\Tests\\Unit\\DatabaseSeederTest::subdistrict_records_exists":0.056,"P\\Tests\\src\\Feature\\UserTest::__pest_evaluable_user_can_have_address":0.026}}
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@
],
"require": {
"php": "^8.2|^8.3",
"illuminate/contracts": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"laravel/pint": "^1.17",
"spatie/laravel-package-tools": "^1.9.2"
"illuminate/contracts": "^10.0||^11.0",
"illuminate/support": "^10.0||^11.0",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"larastan/larastan": "^2.0.1",
"nunomaduro/collision": "^6.0|^7.0",
"larastan/larastan": "^2.9",
"laravel/pint": "^1.17",
"nunomaduro/collision": "^8.1.1|^7.10",
"orangehill/iseed": "^3.0",
"orchestra/testbench": "*",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"orchestra/testbench": "^8.22||^9.0",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-arch": "^2.7",
"pestphp/pest-plugin-laravel": "^2.3",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5|^10",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
Expand Down
66 changes: 25 additions & 41 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,43 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
>
<testsuites>
<testsuite name="Soap Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="DB_CONNECTION" value="testing"/>
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
</php>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Soap Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="DB_CONNECTION" value="testing"/>
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit e3f4a75

Please sign in to comment.