Skip to content

Commit 788e153

Browse files
committed
test fix
1 parent ec950b9 commit 788e153

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ Finally, call the `container` and `script` method wherever you want to display t
7373
{!! $chart->script() !!}
7474
```
7575

76+
## Testing
77+
78+
```bash
79+
composer test
80+
```
81+
7682
## Changelog
7783

7884
Please see [Releases](../../releases) for more information what has changed recently.

composer.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"illuminate/support": ">=8.0"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit":"^9.5",
29+
"mockery/mockery": "^1.5",
30+
"phpunit/phpunit": "^9.5",
3031
"orchestra/testbench": "^6.23|^7.4"
3132
},
3233
"autoload": {
@@ -39,6 +40,9 @@
3940
"Akaunting\\Apexcharts\\Tests\\": "tests"
4041
}
4142
},
43+
"scripts": {
44+
"test": "vendor/bin/phpunit"
45+
},
4246
"extra": {
4347
"laravel": {
4448
"providers": [

0 commit comments

Comments
 (0)