We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfec267 commit dcd6795Copy full SHA for dcd6795
tests/Adapter/CurlAdapterTest.php
@@ -26,7 +26,9 @@ public function testOptions()
26
CURLOPT_URL => 'https://getberlioz.com/',
27
]);
28
$reflection = new ReflectionClass($adapter);
29
- $adapterOptions = $reflection->getProperty('options')->getValue($adapter);
+ $reflectionProperty = $reflection->getProperty('options');
30
+ $reflectionProperty->setAccessible(true);
31
+ $adapterOptions = $reflectionProperty->getValue($adapter);
32
33
$this->assertSame(
34
[
0 commit comments