public function DBTNGExampleUnitTestCase::testInstall in Examples for Developers 7
Test default module installation, two entries in the database table.
File
- dbtng_example/
dbtng_example.test, line 35 - SimpleTests for dbtng_example module.
Class
- DBTNGExampleUnitTestCase
- Default test case for the dbtng_example module.
Code
public function testInstall() {
$result = dbtng_example_entry_load();
$this
->assertEqual(count($result), 2, 'Found two entries in the table after installing the module.');
}