1
0
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:
Cameron
2021-02-14 07:02:09 -08:00
parent e6bdc0e6ec
commit aee77a102f
5 changed files with 74 additions and 8 deletions

View File

@@ -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';