@@ -97,7 +97,7 @@ public function testDebugBarContent()
97
97
98
98
// Check extra info content
99
99
$ this ->assertContains ('sf-toolbar-status-default ' , $ block ->attr ('class ' ), 'The toolbar block should have the default color. ' );
100
- $ this ->assertSame ('mongodb ' === $ this ->env ? DocumentDummy::class : Dummy::class, $ block ->filter ('.sf-toolbar-info-piece span ' )->html ());
100
+ $ this ->assertSame ('test_mongodb ' === $ this ->env ? DocumentDummy::class : Dummy::class, $ block ->filter ('.sf-toolbar-info-piece span ' )->html ());
101
101
}
102
102
103
103
public function testProfilerGeneralLayoutNotResourceClass ()
@@ -136,7 +136,7 @@ public function testProfilerGeneralLayout()
136
136
137
137
$ metrics = $ crawler ->filter ('.metrics ' );
138
138
$ this ->assertCount (1 , $ metrics ->filter ('.metric ' ), 'The should be one metric displayed (resource class). ' );
139
- $ this ->assertSame ('mongodb ' === $ this ->env ? DocumentDummy::class : Dummy::class, $ metrics ->filter ('span.value ' )->html ());
139
+ $ this ->assertSame ('test_mongodb ' === $ this ->env ? DocumentDummy::class : Dummy::class, $ metrics ->filter ('span.value ' )->html ());
140
140
141
141
$ this ->assertCount (3 , $ crawler ->filter ('.sf-tabs .tab ' ), 'Tabs must be presents on the panel. ' );
142
142
@@ -177,7 +177,7 @@ public function testGetCollectionProfiler()
177
177
// Data provider tab
178
178
$ tabContent = $ crawler ->filter ('.tab:nth-of-type(2) .tab-content ' );
179
179
$ this ->assertSame ('TRUE ' , $ tabContent ->filter ('table tbody .status-success ' )->html ());
180
- $ this ->assertContains ('mongodb ' === $ this ->env ? OdmCollectionDataProvider::class : CollectionDataProvider::class, $ tabContent ->filter ('table tbody ' )->html ());
180
+ $ this ->assertContains ('test_mongodb ' === $ this ->env ? OdmCollectionDataProvider::class : CollectionDataProvider::class, $ tabContent ->filter ('table tbody ' )->html ());
181
181
182
182
$ this ->assertContains ('No calls to item data provider have been recorded. ' , $ tabContent ->html ());
183
183
$ this ->assertContains ('No calls to subresource data provider have been recorded. ' , $ tabContent ->html ());
@@ -241,7 +241,7 @@ public function testGetItemProfiler()
241
241
$ this ->assertSame (ContainNonResourceItemDataProvider::class, $ tabContent ->filter ('table tbody tr:first-of-type td:nth-of-type(3) ' )->html ());
242
242
243
243
$ this ->assertSame ('TRUE ' , $ tabContent ->filter ('table tbody .status-success ' )->html ());
244
- $ this ->assertContains ('mongodb ' === $ this ->env ? OdmItemDataProvider::class : ItemDataProvider::class, $ tabContent ->filter ('table tbody ' )->html ());
244
+ $ this ->assertContains ('test_mongodb ' === $ this ->env ? OdmItemDataProvider::class : ItemDataProvider::class, $ tabContent ->filter ('table tbody ' )->html ());
245
245
246
246
$ this ->assertContains ('No calls to collection data provider have been recorded. ' , $ tabContent ->html ());
247
247
$ this ->assertContains ('No calls to subresource data provider have been recorded. ' , $ tabContent ->html ());
0 commit comments