From 761e18a5d81aef1c6c70e46110f3f98c79f8128a Mon Sep 17 00:00:00 2001 From: saeideng Date: Sun, 16 Jan 2022 23:21:34 +0330 Subject: [PATCH] replace IntegrationTestCase with TestCase `IntegrationTestCase` deprecated --- tests/TestCase/ApplicationTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/TestCase/ApplicationTest.php b/tests/TestCase/ApplicationTest.php index 1ad0f7ceaa..7bd3aa0591 100644 --- a/tests/TestCase/ApplicationTest.php +++ b/tests/TestCase/ApplicationTest.php @@ -21,14 +21,17 @@ use Cake\Http\MiddlewareQueue; use Cake\Routing\Middleware\AssetMiddleware; use Cake\Routing\Middleware\RoutingMiddleware; -use Cake\TestSuite\IntegrationTestCase; +use Cake\TestSuite\IntegrationTestTrait; +use Cake\TestSuite\TestCase; use InvalidArgumentException; /** * ApplicationTest class */ -class ApplicationTest extends IntegrationTestCase +class ApplicationTest extends TestCase { + use IntegrationTestTrait; + /** * testBootstrap *