Skip to content

Commit e5e0124

Browse files
committed
remove unsupported test
1 parent 80e1111 commit e5e0124

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.github/workflows/tests.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
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

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
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": {

tests/Feature/SubscribeTest.php

-12
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@
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-
3018
it('a user can subscribe to a plan', function (): void {
3119
$this->user->newPlanSubscription('main', $this->plan);
3220

0 commit comments

Comments
 (0)