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

Add file_exists check on loading services xml #20620

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

I'm hitting an issue where we run unit tests on our own code base and this is hitting file-not-found

We don't package the tests directory with the tarball so it's not there.

The alternative is to move it to the Civi\test folder if it's important that
it be there for non-core tests

Before

Tests fail against file not found when running against tarball

After

no fail

Technical Details

@totten

Comments

@civibot
Copy link

civibot bot commented Jun 16, 2021

(Standard links)

@civibot civibot bot added the master label Jun 16, 2021
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.39 June 16, 2021 05:15
@civibot civibot bot added 5.39 and removed master labels Jun 16, 2021
I'm hitting an issue where we run unit tests on our own code base and this is hitting file-not-found

We don't package the tests directory with the tarball so it's not there.

The alternative is to move it to the Civi\test folder if it's important that
it be there for non-core tests
@seamuslee001
Copy link
Contributor

This seems fine to me but will let @totten weigh in on this one

@seamuslee001 seamuslee001 added the merge ready PR will be merged after a few days if there are no objections label Jun 16, 2021
@eileenmcnaughton
Copy link
Contributor Author

This has been merge-ready for 6 days - merging

@eileenmcnaughton eileenmcnaughton merged commit 2d1c324 into civicrm:5.39 Jun 21, 2021
@eileenmcnaughton eileenmcnaughton deleted the 539_test branch June 21, 2021 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.39 merge ready PR will be merged after a few days if there are no objections
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants