当我在我的网站上调用 1)MatchRequestRepositoryTest :: test_find_requests_by_match_id
ErrorException:session_start():无法发送 会话cookie - headers
已经发送(输出从
/var/www/project.dev/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:459开始) p>
blockquote>
可能是什么问题? 感谢您的帮助。 p>
div> parent :: setUp() code>时,我遇到了这个奇怪的问题 TestCase类用于单元测试一个类
当我运行phpunit时它会抛出这个错误: p>
I have this strange problem when i call the parent::setUp()
on my TestCase class for unit test a class
when i run phpunit it throw me this error:
1) MatchRequestRepositoryTest::test_find_requests_by_match_id ErrorException: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/project.dev/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:459)
What can be the problem? Thanks for any help.