Add explicit dependencies to twitter addon
This commit is contained in:
16
twitter/vendor/abraham/twitteroauth/tests/ConsumerTest.php
vendored
Normal file
16
twitter/vendor/abraham/twitteroauth/tests/ConsumerTest.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use Abraham\TwitterOAuth\Consumer;
|
||||
|
||||
class ConsumerTest extends \PHPUnit_Framework_TestCase {
|
||||
public function testToString()
|
||||
{
|
||||
$key = uniqid();
|
||||
$secret = uniqid();
|
||||
$consumer = new Consumer($key, $secret);
|
||||
|
||||
$this->assertEquals("Consumer[key=$key,secret=$secret]", $consumer->__toString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user