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

Fix testcase path #10

Closed
wants to merge 2 commits into from
Closed

Fix testcase path #10

wants to merge 2 commits into from

Conversation

berrygoudswaard
Copy link

TestCases get the 'src' prefix (e.g. src/tests/TestCase/Model/Table/ArticlesTableTest.php), but this prefix should not be there

@markstory markstory added this to the 1.0.0 milestone Dec 23, 2014
@@ -55,6 +55,11 @@ class TestTaskTest extends TestCase {
*/
public function setUp() {
parent::setUp();

if (!defined('TESTS')) {
define('TESTS', APP . 'tests/');
Copy link
Member

Choose a reason for hiding this comment

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

Like the other pull request, it might be better if this constant was defined tests/bootstrap.php.

@AD7six
Copy link
Member

AD7six commented Dec 23, 2014

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.

None yet

3 participants