Skip to content

Commit

Permalink
apply new cs fixes (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu authored Jan 5, 2023
1 parent e87a55f commit 25813ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/PromiseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Http\Adapter\Guzzle7\Tests;

use Exception;
use GuzzleHttp\Promise\RejectedPromise;
use Http\Adapter\Guzzle7\Promise;
use PHPUnit\Framework\TestCase;
Expand All @@ -20,10 +19,10 @@ class PromiseTest extends TestCase

public function testNonDomainExceptionIsHandled(): void
{
$this->expectException(Exception::class);
$this->expectException(\Exception::class);

$request = $this->prophesize(RequestInterface::class);
$promise = new RejectedPromise(new Exception());
$promise = new RejectedPromise(new \Exception());

$guzzlePromise = new Promise($promise, $request->reveal());

Expand Down

0 comments on commit 25813ca

Please sign in to comment.