Commit f7e202f 1 parent c8025dc commit f7e202f Copy full SHA for f7e202f
File tree 1 file changed +0
-20
lines changed
tests/Doctrine/Tests/ORM/Mapping
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 39
39
use Doctrine \Tests \Models \JoinedInheritanceType \RootClass ;
40
40
use Doctrine \Tests \Models \Quote ;
41
41
use Doctrine \Tests \OrmTestCase ;
42
- use DoctrineGlobalArticle ;
43
42
use Exception ;
44
43
use InvalidArgumentException ;
45
44
use ReflectionClass ;
@@ -151,25 +150,6 @@ public function testGetMetadataForThrowsExceptionOnMissingCustomGeneratorDefinit
151
150
$ actual = $ cmf ->getMetadataFor ($ cm1 ->name );
152
151
}
153
152
154
- public function testHasGetMetadataNamespaceSeparatorIsNotNormalized (): void
155
- {
156
- require_once __DIR__ . '/../../Models/Global/GlobalNamespaceModel.php ' ;
157
-
158
- $ metadataDriver = $ this ->createAnnotationDriver ([__DIR__ . '/../../Models/Global/ ' ]);
159
-
160
- $ entityManager = $ this ->createEntityManager ($ metadataDriver );
161
-
162
- $ mf = $ entityManager ->getMetadataFactory ();
163
- $ m1 = $ mf ->getMetadataFor (DoctrineGlobalArticle::class);
164
- $ h1 = $ mf ->hasMetadataFor (DoctrineGlobalArticle::class);
165
- $ h2 = $ mf ->hasMetadataFor ('\\' . DoctrineGlobalArticle::class);
166
- $ m2 = $ mf ->getMetadataFor ('\\' . DoctrineGlobalArticle::class);
167
-
168
- self ::assertNotSame ($ m1 , $ m2 );
169
- self ::assertFalse ($ h2 );
170
- self ::assertTrue ($ h1 );
171
- }
172
-
173
153
/**
174
154
* @group DDC-1512
175
155
*/
You can’t perform that action at this time.
0 commit comments