Update caching library to latest version, updated and fixed phpUnit tests

This commit is contained in:
2026-02-18 15:16:34 +00:00
parent b127c3cba8
commit f937f2b426
16 changed files with 1210 additions and 738 deletions

View File

@@ -11,7 +11,7 @@ use GuzzleHttp\Client, GuzzleHttp\Handler\MockHandler,
GuzzleHttp\HandlerStack, GuzzleHttp\Psr7\Response;
use CloudObjects\SDK\ObjectRetriever;
class CryptoHelperTest extends \PHPUnit_Framework_TestCase {
class CryptoHelperTest extends \PHPUnit\Framework\TestCase {
private $retriever;
private $graph;
@@ -22,7 +22,7 @@ class CryptoHelperTest extends \PHPUnit_Framework_TestCase {
$this->retriever->setClient(new Client(['handler' => $handler]));
}
public function setUp() {
protected function setUp(): void {
$this->retriever = new ObjectRetriever([
'auth_ns' => 'test.cloudobjects.io',
'auth_secret' => 'TEST'