Wallogit.com
2017 © Pedro Peláez
Module for Doctrine 1.x ORM
Performs DB operations with Doctrine ORM 1.x, (*1)
Uses active Doctrine connection. If none can be found will fail., (*2)
This module cleans all cached data after each test., (*3)
In composer.json, (*4)
"require-dev": {
"codeception/codeception": "~2.1",
"codeception/doctrine1module": "*"
}
Checks table doesn't contain row with specified values Provide Doctrine model name and criteria that can be passed to addWhere DQL, (*5)
Example:, (*6)
``` php <?php $I->dontSeeInTable('User', array('name' => 'Davert', 'email' => 'davert@mail.com'));, (*7)
* `param` $model * `param array` $values ### grabFromTable Fetches single value from a database. Provide Doctrine model name, desired field, and criteria that can be passed to addWhere DQL Example: ``` php <?php $mail = $I->grabFromTable('User', 'email', array('name' => 'Davert'));
param $modelparam $columnparam array $valuesChecks table contains row with specified values Provide Doctrine model name can be passed to addWhere DQL, (*8)
Example:, (*9)
``` php <?php $I->seeInTable('User', array('name' => 'Davert', 'email' => 'davert@mail.com'));, (*10)
```, (*11)
param $modelparam array $values, (*12)