You are here

function CoderUpgrade6xTest::testUpgrade6xUserAuthenticate in Coder 6.2

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

File

tests/coder_6x.test, line 182

Class

CoderUpgrade6xTest

Code

function testUpgrade6xUserAuthenticate() {
  $this
    ->assertCoderFail('  user_authenticate($name, $pass);');
  $this
    ->assertCoderFail('  user_authenticate("name", \'pass\');');
  $this
    ->assertCoderPass('  user_authenticate($array);');
  $this
    ->assertCoderPass('  user_authenticate(array(\'name\' => $name, \'pass\' => $pass));');
}