mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
apply StyleCI recommendation
This commit is contained in:
parent
2182cdd44f
commit
585d5db983
|
@ -391,9 +391,9 @@ class DatabaseTest extends PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
public function testOciClob()
|
public function testOciClob()
|
||||||
{
|
{
|
||||||
$int = (int) random_bytes(1);
|
$int = (int) random_bytes(1);
|
||||||
$string = random_bytes(10);
|
$string = random_bytes(10);
|
||||||
$clob = fopen('php://memory', 'r+');
|
$clob = fopen('php://memory', 'r+');
|
||||||
fwrite($clob, $string);
|
fwrite($clob, $string);
|
||||||
rewind($clob);
|
rewind($clob);
|
||||||
$this->assertEquals($int, Database::_sanitizeClob($int));
|
$this->assertEquals($int, Database::_sanitizeClob($int));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user