function CoderUpgrade6xTest::testUpgrade6xDeprecatedHooks in Coder 6
Same name and namespace in other branches
- 6.2 tests/coder_6x.test \CoderUpgrade6xTest::testUpgrade6xDeprecatedHooks()
File
- tests/
coder_6x.test, line 251
Class
Code
function testUpgrade6xDeprecatedHooks() {
$this
->assertCoderFail(' function mymodule_auth($username, $password, $server) {');
$this
->assertCoderFail(' function mymodule_info($field = 0) {');
// Miscellaneous deprecated functions.
$this
->assertCoderFail(' locale_refresh_cache();');
$this
->assertCoderFail(' theme_get_function();');
}