1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Correcting import that was colliding with another already imported User type

This commit is contained in:
Marco Pivetta 2015-03-17 23:58:53 +00:00
parent 4daf383e4f
commit df8be6f31e

View File

@ -1,10 +1,9 @@
<?php
namespace Doctrine\Tests\ORM\Mapping;
use Doctrine\ORM\Mapping\DefaultQuoteStrategy;
use Doctrine\Tests\Models\NonPublicSchemaJoins\User;
use Doctrine\Tests\Models\NonPublicSchemaJoins\User as NonPublicSchemaUser;
use Doctrine\Tests\OrmTestCase;
/**
@ -21,7 +20,7 @@ class DefaultQuoteStrategyTest extends OrmTestCase
public function testGetJoinTableName()
{
$em = $this->_getTestEntityManager();
$metadata = $em->getClassMetadata(User::CLASSNAME);
$metadata = $em->getClassMetadata(NonPublicSchemaUser::CLASSNAME);
/* @var $platform \Doctrine\DBAL\Platforms\AbstractPlatform */
$strategy = new DefaultQuoteStrategy();
$platform = $this->getMockForAbstractClass('Doctrine\DBAL\Platforms\AbstractPlatform');