mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 17:09:46 +01:00
Extra test for e107::unserialize() with array input.
This commit is contained in:
parent
c32e5bf1e2
commit
608c0c57b1
@ -126,6 +126,14 @@ $data = array (
|
||||
$result = $this->arrObj->unserialize($var['string']);
|
||||
$this->assertEquals($var['expected'], $result);
|
||||
}
|
||||
|
||||
// test with already an array.
|
||||
|
||||
$input = array('myarray'=>'myvalue');
|
||||
$result = $this->arrObj->unserialize($input);
|
||||
$this->assertSame($input, $result);
|
||||
|
||||
|
||||
// var_dump($actual);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user