mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-28 19:42:19 +00:00
22 lines
270 B
PHP
22 lines
270 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Abraham\TwitterOAuth;
|
||
|
|
||
|
// Mock time and random values for consistent tests with VCR
|
||
|
function time()
|
||
|
{
|
||
|
return MOCK_TIME;
|
||
|
}
|
||
|
|
||
|
function microtime()
|
||
|
{
|
||
|
return 'FAKE_MICROTIME';
|
||
|
}
|
||
|
|
||
|
function mt_rand()
|
||
|
{
|
||
|
return 123456789;
|
||
|
}
|