public function ip2countryTestCase::testDbManualUpdate in IP-based Determination of a Visitor's Country 7
Same name and namespace in other branches
- 6 ip2country.test \ip2countryTestCase::testDBManualUpdate()
Tests manual DB update.
File
- tests/
ip2country.test, line 317 - Tests suite for the ip2country module.
Class
- ip2countryTestCase
- Tests operations of the IP to Country module.
Code
public function testDbManualUpdate() {
//$this->clickLink(t('Update'));
$rows = db_select('ip2country')
->countQuery()
->execute()
->fetchField();
//$this->assertText(
// t('The IP to Country database has been updated from @rir. @rows rows affected.', array('@rir' => $rir, '@rows' => $rows)),
// t('Database was updated manually.')
//);
$this
->pass(t('testDbManualUpdate passed.'));
}