kopia lustrzana https://github.com/pixelfed/pixelfed
Use pest for tests
rodzic
3e0d06c0ea
commit
71e3fa7aff
|
@ -53,7 +53,7 @@
|
|||
"laravel/telescope": "^5.5",
|
||||
"mockery/mockery": "^1.6",
|
||||
"nunomaduro/collision": "^8.8",
|
||||
"phpunit/phpunit": "^11.0.1"
|
||||
"pestphp/pest": "^3.8"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
|
@ -100,7 +100,10 @@
|
|||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"sort-packages": true,
|
||||
"optimize-autoloader": true
|
||||
"optimize-autoloader": true,
|
||||
"allow-plugins": {
|
||||
"pestphp/pest-plugin": true
|
||||
}
|
||||
},
|
||||
"prefer-stable": true
|
||||
}
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
expect()->extend('toBeOne', function () {
|
||||
return $this->toBe(1);
|
||||
});
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
test('that true is true', function () {
|
||||
expect(true)->toBeTrue();
|
||||
});
|
Ładowanie…
Reference in New Issue