Skip to content

Commit

Permalink
add missing functional Serializer test case
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Feb 1, 2017
1 parent 9cf01d8 commit 24243ac
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
Expand Up @@ -20,7 +20,7 @@ public function testPhpDocPriority()
static::bootKernel(array('test_case' => 'Serializer'));
$container = static::$kernel->getContainer();

$this->assertEquals(array(new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT))), $container->get('property_info')->getTypes(Dummy::class, 'codes'));
$this->assertEquals(array(new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT))), $container->get('property_info')->getTypes('Symfony\Bundle\FrameworkBundle\Tests\Functional\Dummy', 'codes'));
}
}

Expand Down
@@ -0,0 +1,16 @@
<?php

/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

use Symfony\Bundle\FrameworkBundle\FrameworkBundle;

return array(
new FrameworkBundle(),
);
@@ -0,0 +1,6 @@
imports:
- { resource: ../config/default.yml }

framework:
serializer: { enabled: true }
property_info: { enabled: true }

0 comments on commit 24243ac

Please sign in to comment.