26 public function getAuthInfoArrayReturnsEmptyPidListIfNoCheckPidValueIsGiven() {
27 $GLOBALS[
'TYPO3_DB'] = $this->getMock(
'TYPO3\\CMS\\Core\\Database\\DatabaseConnection', array(
'cleanIntList'));
28 $GLOBALS[
'TYPO3_DB']->expects($this->never())->method(
'cleanIntList');
31 $mock = $this->getMock(
'TYPO3\\CMS\\Core\\Authentication\\AbstractUserAuthentication', array(
'dummy'));
32 $mock->checkPid = TRUE;
33 $mock->checkPid_value = NULL;
34 $result = $mock->getAuthInfoArray();
35 $this->assertEquals(
'',
$result[
'db_user'][
'checkPidList']);
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]