@@ -68,21 +68,21 @@ public function testXMLConfiguration()
68
68
*/
69
69
public function testCacheNamespaceShouldBeGeneratedWhenCacheIsNotGiven () : void
70
70
{
71
- $ config = Setup::createConfiguration (false , ' /foo ' );
71
+ $ config = Setup::createConfiguration (false , __DIR__ );
72
72
$ cache = $ config ->getMetadataCacheImpl ();
73
73
74
- self ::assertSame ('dc2_1effb2475fcfba4f9e8b8a1dbc8f3caf_ ' , $ cache ->getNamespace ());
74
+ self ::assertSame ('dc2_a627434a6e484d05c284461c9abcfb8c_ ' , $ cache ->getNamespace ());
75
75
}
76
76
77
77
/**
78
78
* @group 5904
79
79
*/
80
80
public function testCacheNamespaceShouldBeGeneratedWhenCacheIsGivenButHasNoNamespace () : void
81
81
{
82
- $ config = Setup::createConfiguration (false , ' /foo ' , new ArrayCache ());
82
+ $ config = Setup::createConfiguration (false , __DIR__ , new ArrayCache ());
83
83
$ cache = $ config ->getMetadataCacheImpl ();
84
84
85
- self ::assertSame ('dc2_1effb2475fcfba4f9e8b8a1dbc8f3caf_ ' , $ cache ->getNamespace ());
85
+ self ::assertSame ('dc2_a627434a6e484d05c284461c9abcfb8c_ ' , $ cache ->getNamespace ());
86
86
}
87
87
88
88
/**
@@ -93,11 +93,11 @@ public function testConfiguredCacheNamespaceShouldBeUsedAsPrefixOfGeneratedNames
93
93
$ originalCache = new ArrayCache ();
94
94
$ originalCache ->setNamespace ('foo ' );
95
95
96
- $ config = Setup::createConfiguration (false , ' /foo ' , $ originalCache );
96
+ $ config = Setup::createConfiguration (false , __DIR__ , $ originalCache );
97
97
$ cache = $ config ->getMetadataCacheImpl ();
98
98
99
99
self ::assertSame ($ originalCache , $ cache );
100
- self ::assertSame ('foo:dc2_1effb2475fcfba4f9e8b8a1dbc8f3caf_ ' , $ cache ->getNamespace ());
100
+ self ::assertSame ('foo:dc2_a627434a6e484d05c284461c9abcfb8c_ ' , $ cache ->getNamespace ());
101
101
}
102
102
103
103
/**
0 commit comments