File tree 3 files changed +7
-14
lines changed
3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 32
32
tools : composer:v2
33
33
coverage : none
34
34
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
+
35
40
- name : Install Composer dependencies
36
41
run : |
37
42
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
Original file line number Diff line number Diff line change 42
42
"spatie/laravel-translatable" : " ^6.5.0"
43
43
},
44
44
"require-dev" : {
45
- "larastan/larastan" : " ^3.0" ,
45
+ "larastan/larastan" : " ^2.0|^ 3.0" ,
46
46
"laravel/pint" : " ^1.13" ,
47
47
"orchestra/testbench" : " ^8.0|^9.0|^10.0" ,
48
- "pestphp/pest" : " ^3.7" ,
48
+ "pestphp/pest" : " ^2.18|^ 3.7" ,
49
49
"spatie/test-time" : " ^1.3"
50
50
},
51
51
"autoload" : {
Original file line number Diff line number Diff line change 15
15
$ this ->plan = Plan::factory ()->create ();
16
16
});
17
17
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
-
30
18
it ('a user can subscribe to a plan ' , function (): void {
31
19
$ this ->user ->newPlanSubscription ('main ' , $ this ->plan );
32
20
You can’t perform that action at this time.
0 commit comments