Allow users to pass unserialized array
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user