コード例 #1
0
 public function testGetAuthorizationUriOpenID()
 {
     $className = 'yii\\authclient\\OpenId';
     $this->setExpectedException('yii\\base\\Exception', Yii::t('SyncSocial', 'SyncSocial is not support {serviceName}.', ['serviceName' => $className]));
     $sync = new SyncService(['serviceClass' => $className]);
     $sync->getAuthorizationUri();
     $this->assertTrue(true);
 }