@@ -68,7 +68,7 @@ public function testSniffOnStart()
68
68
};
69
69
70
70
// Eww...
71
- $ params = m::mock ('Pimple ' )
71
+ $ params = m::mock ('\ Pimple\Container ' )
72
72
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
73
73
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
74
74
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -103,7 +103,7 @@ public function testSetRetries()
103
103
};
104
104
105
105
// Eww...
106
- $ params = m::mock ('Pimple ' )
106
+ $ params = m::mock ('\ Pimple\Container ' )
107
107
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
108
108
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
109
109
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -136,7 +136,7 @@ public function testNoSniffOnStart()
136
136
};
137
137
138
138
// Eww...
139
- $ params = m::mock ('Pimple ' )
139
+ $ params = m::mock ('\ Pimple\Container ' )
140
140
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
141
141
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
142
142
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -170,7 +170,7 @@ public function testMixedHosts()
170
170
};
171
171
172
172
// Eww...
173
- $ params = m::mock ('Pimple ' )
173
+ $ params = m::mock ('\ Pimple\Container ' )
174
174
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
175
175
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
176
176
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -220,7 +220,7 @@ public function testPerformRequestNoBody()
220
220
221
221
222
222
// Eww...
223
- $ pimple = m::mock ('Pimple ' )
223
+ $ pimple = m::mock ('\ Pimple\Container ' )
224
224
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
225
225
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
226
226
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -283,7 +283,7 @@ public function testPerformRequestWithBody()
283
283
284
284
285
285
// Eww...
286
- $ pimple = m::mock ('Pimple ' )
286
+ $ pimple = m::mock ('\ Pimple\Container ' )
287
287
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
288
288
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
289
289
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -343,7 +343,7 @@ public function testPerformRequestTimeout()
343
343
344
344
345
345
// Eww...
346
- $ pimple = m::mock ('Pimple ' )
346
+ $ pimple = m::mock ('\ Pimple\Container ' )
347
347
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
348
348
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
349
349
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
@@ -400,7 +400,7 @@ public function testPerformRequestNoNodesAvailable()
400
400
$ mockSerializer = m::mock ('\Elasticsearch\Serializers\SerializerInterface ' );
401
401
402
402
// Eww...
403
- $ pimple = m::mock ('Pimple ' )
403
+ $ pimple = m::mock ('\ Pimple\Container ' )
404
404
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
405
405
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
406
406
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
@@ -455,7 +455,7 @@ public function testPerformRequestTransportException()
455
455
456
456
457
457
// Eww...
458
- $ pimple = m::mock ('Pimple ' )
458
+ $ pimple = m::mock ('\ Pimple\Container ' )
459
459
->shouldReceive ('offsetGet ' )->with ('connectionPool ' )->andReturn ($ mockConnectionPoolFxn )->getMock ()
460
460
->shouldReceive ('offsetGet ' )->with ('serializer ' )->andReturn ($ mockSerializer )->getMock ()
461
461
->shouldReceive ('offsetGet ' )->with ('connection ' )->andReturn ($ mockConnectionFxn )->getMock ()
0 commit comments