function ip2countryTestCase::testAlterHook in IP-based Determination of a Visitor's Country 6
Same name and namespace in other branches
- 7 tests/ip2country.test \ip2countryTestCase::testAlterHook()
 
Tests injecting IP data via hook_ip2country_alter()
File
- ./
ip2country.test, line 167  - Tests suite for the ip2country module.
 
Class
- ip2countryTestCase
 - Need 1 class for unit tests, 1 class for functional tests 1 function for DB tests because filling takes so long
 
Code
function testAlterHook() {
  $this
    ->pass(t('testAlterHook passed.'));
}