first commit
This commit is contained in:
commit
d0e185820a
2710 files changed
+465112
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* SocialConnect project
|
||||
* @author: Patsura Dmitry @ovr <[email protected]>
|
||||
*/
|
||||
|
||||
namespace Test;
|
||||
|
||||
class ClientTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testConstructSuccess()
|
||||
{
|
||||
$appId = 12345;
|
||||
$secret = 'mytestkey';
|
||||
|
||||
$client = new SimpleClient($appId, $secret);
|
||||
static::assertInstanceOf('SocialConnect\Common\ClientAbstract', $client);
|
||||
static::assertSame($appId, $client->getAppId());
|
||||
static::assertSame($secret, $client->getAppSecret());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user