mirror of
https://github.com/wearepixel/laravel-facebook-feed.git
synced 2026-11-14 13:51:42 +00:00
chore: add Pest v4 testing infrastructure with Orchestra Testbench
This commit is contained in:
+24
-4
@@ -16,11 +16,31 @@
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
"psr-4": { "Wearepixel\\LaravelFacebookFeed\\" : "src/" }
|
||||
"psr-4": {
|
||||
"Wearepixel\\LaravelFacebookFeed\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"spatie/array-to-xml": "2.8.*|3.*.*",
|
||||
"illuminate/support": "8.*|9.*|10.*|11.*"
|
||||
"php": ">=8.4",
|
||||
"spatie/array-to-xml": "2.8.*|3.*",
|
||||
"illuminate/support": "10.*|11.*|12.*|13.*"
|
||||
},
|
||||
"prefer-stable": true
|
||||
"require-dev": {
|
||||
"pestphp/pest": "^4.0",
|
||||
"orchestra/testbench": "^10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vendor/bin/pest"
|
||||
},
|
||||
"prefer-stable": true,
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"pestphp/pest-plugin": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+8912
-259
File diff suppressed because it is too large
Load Diff
+12
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
colors="true"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Unit">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
uses(Tests\TestCase::class)->in('.');
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Orchestra\Testbench\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase {}
|
||||
Reference in New Issue
Block a user