TYPO3 CMS  TYPO3_6-2
AbstractUserAuthenticationTest.php
Go to the documentation of this file.
1 <?php
3 
22 
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');
29 
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']);
36  }
37 
38 }
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren&#39;t numeric.
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]