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

tests don't run on PHPUnit 3.5.13 #7

Open
jblotus opened this issue Apr 20, 2011 · 2 comments
Open

tests don't run on PHPUnit 3.5.13 #7

jblotus opened this issue Apr 20, 2011 · 2 comments

Comments

@jblotus
Copy link

jblotus commented Apr 20, 2011

All tests are generating errors like this:

  1. Phactory_Association_ManyToManyTest::testGuessFromColumn
    RuntimeException: PHP Notice: Constant PHACTORY_PATH already defined in C:\Site
    s\phactory_branch\phactory\tests\bootstrap.php on line 2
    PHP Stack trace:
    PHP 1. {main}() -:0
    PHP 2. require_once() -:1
    PHP 3. require_once() C:\Users\Owner\AppData\Local\Temp\PHPF57.tmp:43
    PHP 4. define() C:\Sites\phactory_branch\phactory\tests\bootstrap.php:2

Is there a recommended config to get these tests running? Also there are some deprecated warnings generated by latest PHPUnit.

@jblotus
Copy link
Author

jblotus commented Apr 20, 2011

wanted to link to a complete dump
http://pastebin.com/mxtYsgp0

@jblotus jblotus closed this as completed Apr 20, 2011
@jblotus jblotus reopened this Apr 20, 2011
@jimbojsb
Copy link
Collaborator

Does @rasmey's pull request to use namespaces fix this issue for you?

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

No branches or pull requests

2 participants