mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 12:01:05 +02:00
Set profanity list limit to 1000. (Could reduce performance)
Fix for comment template. Prevent secureImage from buffering too many keys.
This commit is contained in:
@@ -49,6 +49,26 @@
|
||||
|
||||
}
|
||||
|
||||
public function testClear()
|
||||
{
|
||||
$this->sess->set('clear/one', 'Test 1');
|
||||
$this->sess->set('clear/two', 'Test 2');
|
||||
$this->sess->set('clear/three', 'Test 3');
|
||||
|
||||
$this->sess->clear('clear/two');
|
||||
|
||||
$expected = array (
|
||||
'one' => 'Test 1',
|
||||
'three' => 'Test 3',
|
||||
);
|
||||
|
||||
$result = $this->sess->get('clear');
|
||||
$this->assertSame($expected, $result);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function testSetGet()
|
||||
{
|
||||
$expected = '123456';
|
||||
|
Reference in New Issue
Block a user