@@ -27,7 +27,7 @@ public function test_update_adds_object_to_index()
27
27
->andReturn ($ query = Mockery::mock ('stdClass ' ));
28
28
$ query ->shouldReceive ('selectRaw ' )
29
29
->with (
30
- " to_tsvector(COALESCE(?, get_current_ts_config()), ?) || setweight(to_tsvector(COALESCE(?, get_current_ts_config()), ?), ?) AS tsvector " ,
30
+ ' to_tsvector(COALESCE(?, get_current_ts_config()), ?) || setweight(to_tsvector(COALESCE(?, get_current_ts_config()), ?), ?) AS tsvector ' ,
31
31
[null , 'Foo ' , null , '' , 'B ' ]
32
32
)
33
33
->andReturnSelf ();
@@ -211,11 +211,11 @@ protected function setDbExpectations($db)
211
211
$ db ->shouldReceive ('table ' )
212
212
->andReturn ($ table = Mockery::mock ('stdClass ' ));
213
213
$ db ->shouldReceive ('raw ' )
214
- ->with (" plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query " )
215
- ->andReturn (" plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query " );
214
+ ->with (' plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query ' )
215
+ ->andReturn (' plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query ' );
216
216
217
217
$ table ->shouldReceive ('crossJoin ' )
218
- ->with (" plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query " )
218
+ ->with (' plainto_tsquery(COALESCE(?, get_current_ts_config()), ?) AS query ' )
219
219
->andReturnSelf ()
220
220
->shouldReceive ('select ' )
221
221
->with ('id ' )
0 commit comments