1 database_example.test | public DatabaseExampleUnitTestCase::testInstall() |
Tests the default module installation, two entries in the database table.
File
- modules/
examples/ database_example/ tests/ database_example.test, line 24 - SimpleTests for the Database Example module.
Class
- DatabaseExampleUnitTestCase
- Default test case for the Database Example module.
Code
public function testInstall() {
$result = database_example_entry_load();
$this->assertEqual(count($result), 2, 'Found two entries in the table after installing the module.');
}