You are here

function CoderUpgrade6xTest::testUpgrade6xDeprecatedHooks in Coder 6.2

Same name and namespace in other branches
  1. 6 tests/coder_6x.test \CoderUpgrade6xTest::testUpgrade6xDeprecatedHooks()

File

tests/coder_6x.test, line 258

Class

CoderUpgrade6xTest

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();');
}