Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
26
vendor/symfony/validator/Tests/Mapping/Cache/Psr6CacheTest.php
vendored
Normal file
26
vendor/symfony/validator/Tests/Mapping/Cache/Psr6CacheTest.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace Symfony\Component\Validator\Tests\Mapping\Cache;
|
||||
|
||||
use Symfony\Component\Cache\Adapter\ArrayAdapter;
|
||||
use Symfony\Component\Validator\Mapping\Cache\Psr6Cache;
|
||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||
|
||||
/**
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*/
|
||||
class Psr6CacheTest extends AbstractCacheTest
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
$this->cache = new Psr6Cache(new ArrayAdapter());
|
||||
}
|
||||
|
||||
public function testNameCollision()
|
||||
{
|
||||
$metadata = new ClassMetadata('Foo\\Bar');
|
||||
|
||||
$this->cache->write($metadata);
|
||||
$this->assertFalse($this->cache->has('Foo_Bar'));
|
||||
}
|
||||
}
|
Reference in a new issue