mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 03:23:40 +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;
|
||
|
}
|