Allow users to pass unserialized array

This commit is contained in:
Jake Mitchell
2016-06-26 01:12:17 +00:00
parent 70cd832876
commit e5b48176c4
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ class MetaTest extends \PHPUnit_Framework_TestCase
public function testUuidQuery ()
{
$model = Meta::create([
'meta' => serialize(['name' => 'Tony'])
'meta' => ['name' => 'Tony']
]);
$queried = Meta::withUuid($model->getUuid())->first();