Switching project access information to use JSON instead of serialization, fixes #493
This commit is contained in:
parent
490b9cf019
commit
2875badb0a
3 changed files with 19 additions and 4 deletions
|
|
@ -99,7 +99,7 @@ class ProjectTest extends \PHPUnit_Framework_TestCase
|
|||
);
|
||||
|
||||
$project = new Project();
|
||||
$project->setAccessInformation(serialize($info));
|
||||
$project->setAccessInformation($info);
|
||||
|
||||
$this->assertEquals('Item One', $project->getAccessInformation('item1'));
|
||||
$this->assertEquals(2, $project->getAccessInformation('item2'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue