From b04a6a6ee53802c0938e61aaf312e9f59194f14d Mon Sep 17 00:00:00 2001
From: nshiro <14008307+nshiro@users.noreply.github.com>
Date: Fri, 24 Nov 2023 06:47:15 +0000
Subject: [PATCH] [10.x] Add Conditionable to TestResponse

---
 src/Illuminate/Testing/TestResponse.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php
index 879db5fac8af..80060e6c7f01 100644
--- a/src/Illuminate/Testing/TestResponse.php
+++ b/src/Illuminate/Testing/TestResponse.php
@@ -15,6 +15,7 @@
 use Illuminate\Support\Carbon;
 use Illuminate\Support\Collection;
 use Illuminate\Support\Str;
+use Illuminate\Support\Traits\Conditionable;
 use Illuminate\Support\Traits\Macroable;
 use Illuminate\Support\Traits\Tappable;
 use Illuminate\Support\ViewErrorBag;
@@ -32,7 +33,7 @@
  */
 class TestResponse implements ArrayAccess
 {
-    use Concerns\AssertsStatusCodes, Tappable, Macroable {
+    use Concerns\AssertsStatusCodes, Conditionable, Tappable, Macroable {
         __call as macroCall;
     }