Fancybox is deprecated
This commit is contained in:
parent
f347ddbfc4
commit
5f781acfdf
234 changed files with 29623 additions and 0 deletions
23
x-twitter/vendor/abraham/twitteroauth/tests/ConsumerTest.php
vendored
Normal file
23
x-twitter/vendor/abraham/twitteroauth/tests/ConsumerTest.php
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\Consumer;
|
||||
|
||||
class ConsumerTest extends TestCase
|
||||
{
|
||||
public function testToString()
|
||||
{
|
||||
$key = uniqid();
|
||||
$secret = uniqid();
|
||||
$consumer = new Consumer($key, $secret);
|
||||
|
||||
$this->assertEquals(
|
||||
"Consumer[key=$key,secret=$secret]",
|
||||
$consumer->__toString()
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue