Skip to content

Commit

Permalink
[9.x] Bump Testbench dependencies (#44651)
Browse files Browse the repository at this point in the history
* Forget component's cache and factory between tests

Signed-off-by: Mior Muhammad Zaki <[email protected]>

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone authored Oct 19, 2022
1 parent 7b833a9 commit c074646
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 0 additions & 8 deletions tests/Integration/View/BladeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']));
Expand Down

0 comments on commit c074646

Please sign in to comment.