Mercurial > nebulaweb3
diff default/assets/vendors/theme-widgets/vendor/abraham/twitteroauth/tests/ConsumerTest.php @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/assets/vendors/theme-widgets/vendor/abraham/twitteroauth/tests/ConsumerTest.php Sat May 31 09:21:51 2025 +0800 @@ -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()); + } +} \ No newline at end of file