-
-
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
DBH Call to a member function execute() on boolean #3116
Comments
I think: it seems like you are generating an invalid query. probably in the criteria parameter of seeInDatabase or dontSeeInDatabase. it seems like Dbh module is deprectated and will be removed in 2.2. so i'm not sure if that fix is relevant? |
maybe running codeception with the "-vvv" parameter could help you find the error. |
So maybe you can tell me how i can get all datasets with a where statement and not only one...that is my problem to do a simple request on the database |
I'm not sure what you are trying to accomplish. can you explain what you are trying to test? @DavertMik: |
Hi, sure i do an Api Test. I want to read the parameters from an table. Than i will do the api call with this params in a loop and check the response. Thx |
Can you post your test here? |
I throw it away but when i use grapFromDatabase i will not get all datasets...like where status = 1... |
Thanks @rogoit for reporting, even if it's deprecated, bug fixes are relevant. |
Hi,
i got this bug. Can anybody help please ;)
Call to a member function execute() on boolean in /projectpath/vendor/codeception/codeception/src/Codeception/Module/Dbh.php on line 121
See you
Roland
The text was updated successfully, but these errors were encountered: