File manager - Edit - /home/infoilmg/public_html/wp-content/plugins/fs-poster/vendor/abraham/twitteroauth/tests/TokenTest.php
Back
<?php namespace Abraham\TwitterOAuth\Tests; use Abraham\TwitterOAuth\Token; class TokenTest extends \PHPUnit_Framework_TestCase { /** * @dataProvider tokenProvider */ public function testToString($expected, $key, $secret) { $token = new Token($key, $secret); $this->assertEquals($expected, $token->__toString()); } public function tokenProvider() { 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'], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings