Skip to content

Commit e6f67af

Browse files
fix(DMD-987): remove redundant test that triggers PHPStan error
- Remove testCreateReturnsHandlerStack test as assertNotNull on non-nullable return type always evaluates to true - Remove unused Request import Co-Authored-By: Martin Zajic <ja@mzajic.cz>
1 parent 4eb9696 commit e6f67af

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/Client/HandlerStackTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,12 @@
66

77
use GuzzleHttp\Client as GuzzleClient;
88
use GuzzleHttp\Handler\MockHandler;
9-
use GuzzleHttp\Psr7\Request;
109
use GuzzleHttp\Psr7\Response;
1110
use Keboola\StorageApi\HandlerStack;
1211
use PHPUnit\Framework\TestCase;
1312

1413
class HandlerStackTest extends TestCase
1514
{
16-
public function testCreateReturnsHandlerStack(): void
17-
{
18-
$handlerStack = HandlerStack::create();
19-
20-
self::assertNotNull($handlerStack);
21-
}
22-
2315
public function testCreateWithCustomHandler(): void
2416
{
2517
$mockHandler = new MockHandler([

0 commit comments

Comments
 (0)