Use pest for tests

pull/6022/head
Daniel Supernault 2 months ago
parent 3e0d06c0ea
commit 71e3fa7aff
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

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

1144
composer.lock generated

File diff suppressed because it is too large 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();
});
Loading…
Cancel
Save