Skip to content

Commit

Permalink
fix setvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean O'Brien committed Jan 24, 2024
1 parent bb1a6ac commit 7f35743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/AbstractConfigurationProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public function testsPersistsToCache()
// Set interfaceClass property that's normally set by child class
$ref = new \ReflectionClass('\Aws\AbstractConfigurationProvider');
$property = $ref->getProperty('interfaceClass');
$property->setAccessible(null, true);
$property->setValue('\Aws\ResultInterface');
$property->setAccessible(true);
$property->setValue(null,'\Aws\ResultInterface');

$timesCalled = 0;
$volatileProvider = function () use ($expected, &$timesCalled) {
Expand Down

0 comments on commit 7f35743

Please sign in to comment.