Use pest for tests

pull/6022/head
Daniel Supernault 2025-06-02 22:02:19 -06:00
rodzic 3e0d06c0ea
commit 71e3fa7aff
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
4 zmienionych plików z 935 dodań i 98 usunięć

Wyświetl plik

@ -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
}

1016
composer.lock wygenerowano

Plik diff jest za duży Load Diff

5
tests/Pest.php 100644
Wyświetl plik

@ -0,0 +1,5 @@
<?php
expect()->extend('toBeOne', function () {
return $this->toBe(1);
});

Wyświetl plik

@ -0,0 +1,5 @@
<?php
test('that true is true', function () {
expect(true)->toBeTrue();
});