Skip to content

Commit

Permalink
Tear down using helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 10, 2024
1 parent 1111d5d commit a0ca7f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/framework/tests/Unit/IncludesFacadeUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected function setUp(): void

protected function tearDown(): void
{
Mockery::close();
$this->verifyMockeryExpectations();
}

public function testPathReturnsTheIncludesDirectory()
Expand Down
2 changes: 1 addition & 1 deletion packages/framework/tests/Unit/MarkdownFacadeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public function testRender(): void
$this->assertIsString($html);
$this->assertSame("<h1>Hello World!</h1>\n", $html);

Mockery::close();
$this->verifyMockeryExpectations();
}
}

0 comments on commit a0ca7f2

Please sign in to comment.