1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: James Valleroy <jvalleroy@mailbox.org>
Date: Mon, 18 Nov 2024 18:35:43 -0500
Subject: Use ProphecyTrait
---
tests/Http/RequestTest.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Http/RequestTest.php b/tests/Http/RequestTest.php
index 72f9175..2c03b90 100644
--- a/tests/Http/RequestTest.php
+++ b/tests/Http/RequestTest.php
@@ -10,6 +10,7 @@ namespace Slim\Tests\Http;
use InvalidArgumentException;
use PHPUnit;
use Prophecy\Argument;
+use Prophecy\PhpUnit\ProphecyTrait;
use Prophecy\Prophecy\MethodProphecy;
use Psr\Http\Message\UriInterface;
use ReflectionObject;
@@ -25,6 +26,8 @@ use Slim\Http\Uri;
class RequestTest extends PHPUnit\Framework\TestCase
{
+ use ProphecyTrait;
+
public function requestFactory($envData = [])
{
$env = Environment::mock($envData);
|