From 7f35743193f150b9d857af89ee8af948f9875676 Mon Sep 17 00:00:00 2001 From: Sean O'Brien Date: Wed, 24 Jan 2024 13:21:56 -0500 Subject: [PATCH] fix setvalue --- tests/AbstractConfigurationProviderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AbstractConfigurationProviderTest.php b/tests/AbstractConfigurationProviderTest.php index c2dc4dfae4..da34204987 100644 --- a/tests/AbstractConfigurationProviderTest.php +++ b/tests/AbstractConfigurationProviderTest.php @@ -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) {