Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rdex committed Oct 15, 2024
1 parent 42e8cf1 commit 214cbfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ public function it_should_work(): void

private function getCompressedClient(): Client
{
static $sut = null;

if ($sut !== null) {
return $sut;
}

$threshold = 5; // length >5 is required to turn on compression
$compressor = new ConditionalCompressorWrapper($threshold, new GzipCompressor());

Expand Down
2 changes: 1 addition & 1 deletion tests/ConditionalCompressorWrapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace B1rdex\PredisCompressible;
namespace B1rdex\PredisCompressible\Tests;

use B1rdex\PredisCompressible\Compressor\CompressorException;
use B1rdex\PredisCompressible\Compressor\ConditionalCompressorWrapper;
Expand Down

0 comments on commit 214cbfa

Please sign in to comment.