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

[7.x] Fix tests #1024

Merged
merged 4 commits into from
Feb 14, 2023
Merged

[7.x] Fix tests #1024

merged 4 commits into from
Feb 14, 2023

Conversation

driesvints
Copy link
Member

No description provided.

@driesvints driesvints marked this pull request as ready for review February 10, 2023 11:31
@driesvints
Copy link
Member Author

Ping @crynobone

@@ -282,7 +283,11 @@ protected function writeConfiguration()
{
if (! file_exists($file = base_path('phpunit.dusk.xml')) &&
! file_exists(base_path('phpunit.dusk.xml.dist'))) {
copy(realpath(__DIR__.'/../../stubs/phpunit.xml'), $file);
if (version_compare(Application::VERSION, '10.0.0') >= 0) {
Copy link
Member

Choose a reason for hiding this comment

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

But this doesn't guarantee PHPUnit 10 is installed, maybe use version_compare() against phpunit instead?

@taylorotwell taylorotwell marked this pull request as draft February 10, 2023 14:48
@taylorotwell
Copy link
Member

@driesvints please mark as ready for review when feedback addressed.

driesvints and others added 2 commits February 14, 2023 09:37
Co-authored-by: Mior Muhammad Zaki <[email protected]>
Co-authored-by: Mior Muhammad Zaki <[email protected]>
@driesvints driesvints marked this pull request as ready for review February 14, 2023 08:41
@driesvints
Copy link
Member Author

Ready again.

@taylorotwell taylorotwell merged commit 0f0c4c8 into 7.x Feb 14, 2023
@taylorotwell taylorotwell deleted the fix-tests branch February 14, 2023 14:48
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.

3 participants