Files
wp-multi-city/tests/TestCase.php
T
Vladimir Bryzgalov 945ae898ac fix(wpmc S2): drop redundant Mockery::close from TestCase teardown
Brain\Monkey\tearDown() already calls Mockery::close internally;
calling it explicitly duplicates the close.
2026-05-12 17:34:47 +05:00

23 lines
384 B
PHP

<?php
declare(strict_types=1);
namespace WPMultiCity\Tests;
use Brain\Monkey;
use PHPUnit\Framework\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
protected function setUp(): void
{
parent::setUp();
Monkey\setUp();
}
protected function tearDown(): void
{
Monkey\tearDown();
parent::tearDown();
}
}