Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests not passing #14

Closed
frknasir opened this issue Mar 29, 2021 · 1 comment · Fixed by #31
Closed

Tests not passing #14

frknasir opened this issue Mar 29, 2021 · 1 comment · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@frknasir
Copy link
Collaborator

Tests are not passing with the following erros:

There were 13 errors:

1) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_subscriptions_can_be_created
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

2) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_swapping_subscription_and_preserving_quantity
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

3) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_swapping_subscription_and_adopting_new_quantity
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

4) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_an_anchored_billing_cycle
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

5) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_trial
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

6) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_user_without_subscriptions_can_return_its_generic_trial_end_date
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

7) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_creating_subscription_with_explicit_trial
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

8) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trial_on_swap_is_skipped_when_explicitly_asked_to
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

9) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_can_be_extended
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

10) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_extension_date_is_not_in_the_past
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

11) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_trials_can_be_ended
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

12) StarfolkSoftware\Paysub\Tests\Feature\SubscriptionTest::test_subscription_state_scopes
ErrorException: Method ReflectionParameter::isArray() is deprecated

/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/Parameter.php:58
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:104
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:71
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php:47
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php:79
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Generator/CachingGenerator.php:40
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery/Container.php:221
/home/runner/work/paystack-subscription/paystack-subscription/vendor/mockery/mockery/library/Mockery.php:118
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:286
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:251
/home/runner/work/paystack-subscription/paystack-subscription/vendor/laravel/framework/src/Illuminate/Testing/PendingCommand.php:191
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:73
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Database/MigrateProcessor.php:44
/home/runner/work/paystack-subscription/paystack-subscription/vendor/orchestra/testbench-core/src/Concerns/WithLaravelMigrations.php:23
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/FeatureTestCase.php:20
/home/runner/work/paystack-subscription/paystack-subscription/tests/Feature/SubscriptionTest.php:32

13) StarfolkSoftware\Paysub\Tests\Unit\InvoiceTest::test_we_can_get_a_carbon_date_for_the_invoice
Exception: DateTime::__construct(): Faile
@frknasir frknasir added the bug Something isn't working label Mar 29, 2021
@frknasir frknasir self-assigned this Mar 29, 2021
@frknasir
Copy link
Collaborator Author

frknasir commented Mar 29, 2021

This issue may have something to do with this IlchCMS/Ilch-2.0#475 and https://php.watch/versions/8.0/deprecated-reflectionparameter-methods

@frknasir frknasir linked a pull request Apr 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant