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

Use Illuminate\Foundation\Testing\TestCase instead of Orchestra\Testbench\TestCase #3

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

crynobone
Copy link

Signed-off-by: Mior Muhammad Zaki crynobone@gmail.com

Orchestra\Testbench\TestCase

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
use Illuminate\Queue\Queue;
use Illuminate\Support\ServiceProvider;
use Orchestra\Testbench\TestCase;
use Orchestra\Testbench\Concerns\CreatesApplication;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be testing Illuminate\Foundation\Testing\TestCase and not Orchestra\Testbench\TestCase.

I would recommend adding similar tests on orchestra/testbench-core to cover this issue.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getPackageProviders won't work after this change, right? I'll adjust it to manually register it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deleugpn getPackageProviders exists in Orchestra\Testbench\Concerns\CreatesApplication.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For simple tests such as this, we don't need Orchestra\Testbench\Concern\Testing where all the setUp, tearDown, and all other feature customs to Testbench exists.

@deleugpn deleugpn merged commit db21e7d into deleugpn:custom-job-payload Feb 17, 2021
@crynobone crynobone deleted the custom-job-payload branch February 19, 2021 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants