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

CRM-17860, CRM-18231 - JobProcessMailingTest - Re-remove require_once #11251

Merged
merged 1 commit into from
Nov 8, 2017

Conversation

totten
Copy link
Member

@totten totten commented Nov 8, 2017

Overview

Remove an unnecessary line from test suite.

This was previously removed by CRM-17860. I think it got up incidentally in a long-running PR for CRM-18231 and then re-added (unnecessarily, IMHO).

Before

The test worked when executed as part of the api_v3 suite, but it failed
when run individually (because the require_once doesn't work). Moreover,
the tests for org.civicrm.flexmailer failed for the same reason.

After

The tests work on their own.

Comments

This change deals entirely with the packaging/framing of a test-case. It
neither (a) involves the runtime behavior of the application nor (b) the
semantics/behavior of the test. Consequently, it should be safe to merge as
long as the test-runner remains happy.


Overview
--------
Remove an unnecessary line from test suite.

Before
------
The test worked when executed as part of the `api_v3` suite, but it failed
when run individually (because the `require_once` doesn't work).  Moreover,
the tests for `org.civicrm.flexmailer` failed

After
-----
The tests work on their own.

Comment
-------

This change deals entirely with the packaging/framing of a test-case.  It
neither (a) involves the runtime behavior of the application nor (b) the
semantics/behavior of the test.  Consequently, it should be safe to merge as
long as the test-runner remains happy.
@seamuslee001
Copy link
Contributor

Happy that tests pass makes sense to me. If it means more testing of extensions then all for it

@totten totten merged commit 87e7278 into civicrm:master Nov 8, 2017
@totten totten deleted the master-mailtest branch November 8, 2017 08:21
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
CRM-17860, CRM-18231 - JobProcessMailingTest - Re-remove require_once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants