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

(NFC) StringTest - Speed up ~60%

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

After: On local i3-12100, take ~14s (avg over two runs)
parent dd9369d3
Branches
Tags
No related merge requests found
......@@ -6,6 +6,14 @@
*/
class CRM_Utils_StringTest extends CiviUnitTestCase {
/**
* Set up for tests.
*/
public function setUp(): void {
$this->useTransaction();
parent::setUp();
}
public function testBase64Url(): void {
$examples = [
'a' => 'YQ',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment