mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
[twitter] Update abraham/twitteroauth dependency
This commit is contained in:
parent
30445b3c85
commit
569e3f4831
167 changed files with 11848 additions and 2157 deletions
21
twitter/vendor/abraham/twitteroauth/tests/mocks.php
vendored
Normal file
21
twitter/vendor/abraham/twitteroauth/tests/mocks.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue