1
0
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:
Cameron 2021-02-08 08:49:39 -08:00
parent c32e5bf1e2
commit 608c0c57b1

View File

@ -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);
}