| @@ 1080-1088 (lines=9) @@ | ||
| 1077 | } |
|
| 1078 | } |
|
| 1079 | ||
| 1080 | foreach ($result->searchHits as $hit) { |
|
| 1081 | $property = new \ReflectionProperty(get_class($hit), 'index'); |
|
| 1082 | $property->setAccessible(true); |
|
| 1083 | $property->setValue($hit, null); |
|
| 1084 | ||
| 1085 | $property = new \ReflectionProperty(get_class($hit), 'matchedTranslation'); |
|
| 1086 | $property->setAccessible(true); |
|
| 1087 | $property->setValue($hit, null); |
|
| 1088 | } |
|
| 1089 | ||
| 1090 | $this->assertEquals( |
|
| 1091 | $fixture, |
|
| @@ 4360-4368 (lines=9) @@ | ||
| 4357 | } |
|
| 4358 | } |
|
| 4359 | ||
| 4360 | foreach ($result->searchHits as $hit) { |
|
| 4361 | $property = new \ReflectionProperty(get_class($hit), 'index'); |
|
| 4362 | $property->setAccessible(true); |
|
| 4363 | $property->setValue($hit, null); |
|
| 4364 | ||
| 4365 | $property = new \ReflectionProperty(get_class($hit), 'matchedTranslation'); |
|
| 4366 | $property->setAccessible(true); |
|
| 4367 | $property->setValue($hit, null); |
|
| 4368 | } |
|
| 4369 | ||
| 4370 | foreach ($fixture->searchHits as $hit) { |
|
| 4371 | $property = new \ReflectionProperty(get_class($hit), 'index'); |
|
| @@ 4370-4378 (lines=9) @@ | ||
| 4367 | $property->setValue($hit, null); |
|
| 4368 | } |
|
| 4369 | ||
| 4370 | foreach ($fixture->searchHits as $hit) { |
|
| 4371 | $property = new \ReflectionProperty(get_class($hit), 'index'); |
|
| 4372 | $property->setAccessible(true); |
|
| 4373 | $property->setValue($hit, null); |
|
| 4374 | ||
| 4375 | $property = new \ReflectionProperty(get_class($hit), 'matchedTranslation'); |
|
| 4376 | $property->setAccessible(true); |
|
| 4377 | $property->setValue($hit, null); |
|
| 4378 | } |
|
| 4379 | ||
| 4380 | $this->assertEquals( |
|
| 4381 | $fixture, |
|