Skip to content

Commit 3ed1dce

Browse files
committed
Clean MinFraudTest as no longer need some Reflection calls
1 parent 929193f commit 3ed1dce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/MaxMind/Test/MinFraudTest.php

-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public function testEmailHashingDisabled(): void
213213
// Reflection isn't ideal, but this is the easiest way to check.
214214
$class = new \ReflectionClass(MinFraud::class);
215215
$prop = $class->getProperty('content');
216-
$prop->setAccessible(true);
217216

218217
$client = $this->createMinFraudRequestWithFullResponse(
219218
'insights',
@@ -252,7 +251,6 @@ public function testEmailHashingEnabled(): void
252251
// Reflection isn't ideal, but this is the easiest way to check.
253252
$class = new \ReflectionClass(MinFraud::class);
254253
$prop = $class->getProperty('content');
255-
$prop->setAccessible(true);
256254

257255
$client = $this->createMinFraudRequestWithFullResponse(
258256
'insights',

0 commit comments

Comments
 (0)