Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Running UserTest\GitHub\LoginListenerTest::testAttach() in isolation results in error #379

Closed
localheinz opened this issue Feb 9, 2015 · 0 comments · Fixed by #380
Closed
Assignees

Comments

@localheinz
Copy link
Member

Running

$ vendor/bin/phpunit --filter testAttach

results in

PHPUnit 4.0.20 by Sebastian Bergmann.

Configuration read from /Users/am/Sites/zendframework/modules.zendframework.com/phpunit.xml

E

Time: 125 ms, Memory: 8.75Mb

There was 1 error:

1) UserTest\GitHub\LoginListenerTest::testAttach
Argument 1 passed to User\GitHub\LoginListener::attachShared() must implement interface Zend\EventManager\SharedEventManagerInterface, boolean given, called in /Users/am/Sites/zendframework/modules.zendframework.com/module/User/test/UserTest/GitHub/LoginListenerTest.php on line 35 and defined

/Users/am/Sites/zendframework/modules.zendframework.com/module/User/src/User/GitHub/LoginListener.php:21
/Users/am/Sites/zendframework/modules.zendframework.com/module/User/test/UserTest/GitHub/LoginListenerTest.php:35

FAILURES!                          
Tests: 1, Assertions: 0, Errors: 1.

Generating code coverage report in Clover XML format ... done
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants