-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Invalid parameter type passed as Cookie #5
Comments
There are Zend Debugger installed on my server, which trying to set this cookie: Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/ This cookie is cause of this issue. When the debugger is off, this error not occurred. |
Zend conflicts with Zend. How funny ) Actually I'm seeking ways to fix that. Codeception depends on Mink PEAR package which contains old ZF version. |
Unfortunately, this bug will exists for quite a some time :(
https://github.com/Behat/Mink/issues/197#issuecomment-4224550 |
merge 2.0 to master
Fixes Codeception#4 - replace use of Descriptor::getTestSignature with Descriptor::getTestSignatureUnique
Have a clean CodeIgniter framework installed.
wantToTest('front page of my site'); $I->amOnPage('/'); $I->see('Welcome to CodeIgniter'); Running **php codecept.phar run acceptance --debug** and have this stack trace Couldn't test front page of my site (StartPageCept.php) Exception thrown Zend\Http\Exception\InvalidArgumentException: Invalid parameter type passed as Cookie Stack trace: #1 addCookie C:\Program Files\Zend\ZendServer\bin\PEAR\mink\vendor\fabpot\goutte\src\Goutte\Client.php:95 #2 createClient C:\Program Files\Zend\ZendServer\bin\PEAR\mink\vendor\fabpot\goutte\src\Goutte\Client.php:60 #3 doRequest C:\Program Files\Zend\ZendServer\bin\PEAR\Symfony\Component\BrowserKit\Client.php:265 #4 request C:\Program Files\Zend\ZendServer\bin\PEAR\mink\src\Behat\Mink\Driver\GoutteDriver.php:111 #5 visit C:\Program Files\Zend\ZendServer\bin\PEAR\mink\src\Behat\Mink\Session.php:127 #6 visit phar://C:/workspace/ten/codecept.phar/src/Codeception/Util/Mink.php:27Created file tests/acceptance/StartPageCept.php with following content
The text was updated successfully, but these errors were encountered: