We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87a55f commit 25813caCopy full SHA for 25813ca
tests/PromiseTest.php
@@ -4,7 +4,6 @@
4
5
namespace Http\Adapter\Guzzle7\Tests;
6
7
-use Exception;
8
use GuzzleHttp\Promise\RejectedPromise;
9
use Http\Adapter\Guzzle7\Promise;
10
use PHPUnit\Framework\TestCase;
@@ -20,10 +19,10 @@ class PromiseTest extends TestCase
20
19
21
public function testNonDomainExceptionIsHandled(): void
22
{
23
- $this->expectException(Exception::class);
+ $this->expectException(\Exception::class);
24
25
$request = $this->prophesize(RequestInterface::class);
26
- $promise = new RejectedPromise(new Exception());
+ $promise = new RejectedPromise(new \Exception());
27
28
$guzzlePromise = new Promise($promise, $request->reveal());
29
0 commit comments