Skip to content

Commit f9dc87c

Browse files
committed
feat(deps): utilize package:test command from orchestra/testbench to run the tests
Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
1 parent 4a9728f commit f9dc87c

File tree

2 files changed

+205
-36
lines changed

2 files changed

+205
-36
lines changed

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
"pint --preset laravel"
1919
],
2020
"test": [
21-
"vendor/bin/phpunit --colors=always --coverage-text"
21+
"testbench package:test --coverage"
22+
],
23+
"testbench": [
24+
"testbench"
2225
]
2326
},
2427
"autoload": {
@@ -34,13 +37,12 @@
3437
},
3538
"require": {
3639
"php": "^8.1",
37-
"illuminate/contracts": "^9.0|^10.0"
40+
"laravel/framework": "^9.0|^10.0"
3841
},
3942
"require-dev": {
4043
"laravel/pint": "^1.1",
41-
"mockery/mockery": "^1.5",
42-
"orchestra/testbench": "^8.5",
43-
"phpunit/phpunit": "^10.1"
44+
"nunomaduro/collision": "^7.4",
45+
"orchestra/testbench": "^8.5"
4446
},
4547
"config": {
4648
"preferred-install": "dist",

composer.lock

Lines changed: 198 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)