Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Db] Add update in database #4385
For my acceptance I need sometimes to update record in the database, so I added a new function to be able to do that in the module Db:
$I->updateInDatabase('users', ['banned' => 'true'], ['id' => '123']);
What do you think ? I know it's better to start test with a clean database but I have a complex database that is coming from the production (anonymized) and I test it like a blackblox from the web. I can't populate all my database with only testing data.
but still looks good to me. @Naktibalda how do you think?