mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +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
|
@ -1,10 +1,14 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\Token;
|
||||
|
||||
class TokenTest extends \PHPUnit_Framework_TestCase {
|
||||
class TokenTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider tokenProvider
|
||||
*/
|
||||
|
@ -19,8 +23,16 @@ class TokenTest extends \PHPUnit_Framework_TestCase {
|
|||
{
|
||||
return [
|
||||
['oauth_token=key&oauth_token_secret=secret', 'key', 'secret'],
|
||||
['oauth_token=key%2Bkey&oauth_token_secret=secret', 'key+key', 'secret'],
|
||||
['oauth_token=key~key&oauth_token_secret=secret', 'key~key', 'secret'],
|
||||
[
|
||||
'oauth_token=key%2Bkey&oauth_token_secret=secret',
|
||||
'key+key',
|
||||
'secret',
|
||||
],
|
||||
[
|
||||
'oauth_token=key~key&oauth_token_secret=secret',
|
||||
'key~key',
|
||||
'secret',
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue