Add explicit dependencies to twitter addon

This commit is contained in:
Hypolite Petovan 2018-01-28 12:17:19 -05:00
parent 01738518a2
commit d18bb44f8a
45 changed files with 6653 additions and 14 deletions

View 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());
}
}