File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 3232 tools : composer:v2
3333 coverage : none
3434
35+ - name : Setup problem matchers
36+ run : |
37+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
38+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
39+
3540 - name : Install Composer dependencies
3641 run : |
3742 composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
Original file line number Diff line number Diff line change 4242 "spatie/laravel-translatable" : " ^6.5.0"
4343 },
4444 "require-dev" : {
45- "larastan/larastan" : " ^3.0" ,
45+ "larastan/larastan" : " ^2.0|^ 3.0" ,
4646 "laravel/pint" : " ^1.13" ,
4747 "orchestra/testbench" : " ^8.0|^9.0|^10.0" ,
48- "pestphp/pest" : " ^3.7" ,
48+ "pestphp/pest" : " ^2.18|^ 3.7" ,
4949 "spatie/test-time" : " ^1.3"
5050 },
5151 "autoload" : {
Original file line number Diff line number Diff line change 1515 $ this ->plan = Plan::factory ()->create ();
1616});
1717
18- it ('User model implement subscription methods ' , function (): void {
19- expect (User::class)
20- ->toHaveMethods ([
21- 'activePlanSubscriptions ' ,
22- 'planSubscription ' ,
23- 'planSubscriptions ' ,
24- 'newPlanSubscription ' ,
25- 'subscribedPlans ' ,
26- 'subscribedTo ' ,
27- ]);
28- });
29-
3018it ('a user can subscribe to a plan ' , function (): void {
3119 $ this ->user ->newPlanSubscription ('main ' , $ this ->plan );
3220
You can’t perform that action at this time.
0 commit comments