Skip to content
Snippets Groups Projects
Commit b1905546 authored by totten's avatar totten
Browse files

(NFC) DateTest - Speed up ~55%

Before: On local i3-12100, takes ~90s (avg over 2 runs)

After: On local i3-12100, take ~40s (avg over 2 runs)
parent aa40392b
Branches
Tags
No related merge requests found
......@@ -26,6 +26,14 @@
*/
class CRM_Utils_DateTest extends CiviUnitTestCase {
/**
* Set up for tests.
*/
public function setUp(): void {
$this->useTransaction();
parent::setUp();
}
/**
* Used by testGetFromTo
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment