mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
New interface for varied social login configuration fields
Uses the new e_user_provider::getFieldsOf() API
This commit is contained in:
@@ -109,6 +109,7 @@ class e_user_providerTest extends \Codeception\Test\Unit
|
||||
$result = e_user_provider::getSupplementalFieldsOf("Twitter");
|
||||
$this->assertTrue(array_key_exists('authorize', $result));
|
||||
$this->assertTrue(array_key_exists('photo_size', $result));
|
||||
$this->assertIsNotArray($result['photo_size']);
|
||||
|
||||
$result = e_user_provider::getSupplementalFieldsOf("Vkontakte");
|
||||
$this->assertTrue(array_key_exists('photo_size', $result));
|
||||
|
Reference in New Issue
Block a user