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 fixture path #9

Merged
merged 4 commits into from
Dec 23, 2014
Merged

Fix fixture path #9

merged 4 commits into from
Dec 23, 2014

Conversation

berrygoudswaard
Copy link

Fixtures also got the 'src' prefix (e.g. **src/**tests/Fixture/ArticlesFixture.php), but this prefix should not be there

@@ -39,6 +39,11 @@ class FixtureTaskTest extends TestCase {
*/
public function setUp() {
parent::setUp();

if ( ! defined('TESTS')) {
Copy link
Member

Choose a reason for hiding this comment

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

CS: no space around !

Copy link
Author

Choose a reason for hiding this comment

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

Sorry! Fixed it

@markstory markstory added this to the 1.0.0 milestone Dec 23, 2014
@@ -43,10 +43,10 @@ class FixtureTask extends BakeTask {
* @return string
*/
public function getPath() {
$dir = 'tests/Fixture/';
$path = APP . $dir;
Copy link
Member

Choose a reason for hiding this comment

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

What is wrong with these paths? Nevermind, I read what APP is.

AD7six added a commit that referenced this pull request Dec 23, 2014
@AD7six AD7six merged commit 8126a9d into cakephp:master Dec 23, 2014
@AD7six
Copy link
Member

AD7six commented Dec 23, 2014

Had to read that a few times to see the problem.

Thanks!

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

4 participants