From c074646449141da5cb11c3b0ac0bca9f71d21d9f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 19 Oct 2022 21:21:47 +0800 Subject: [PATCH] [9.x] Bump Testbench dependencies (#44651) * Forget component's cache and factory between tests Signed-off-by: Mior Muhammad Zaki Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- tests/Integration/View/BladeTest.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 02e963fc0758..2e27ac05c6b4 100644 --- a/composer.json +++ b/composer.json @@ -93,7 +93,7 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.8", + "orchestra/testbench-core": "^7.11", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^9.5.8", diff --git a/tests/Integration/View/BladeTest.php b/tests/Integration/View/BladeTest.php index 5dd83c9a4b24..b3d8f51eedc7 100644 --- a/tests/Integration/View/BladeTest.php +++ b/tests/Integration/View/BladeTest.php @@ -9,14 +9,6 @@ class BladeTest extends TestCase { - public function tearDown(): void - { - Component::flushCache(); - Component::forgetFactory(); - - parent::tearDown(); - } - public function test_rendering_blade_string() { $this->assertSame('Hello Taylor', Blade::render('Hello {{ $name }}', ['name' => 'Taylor']));