1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 08:39:57 +02:00

Form handler code cleanup/optimization. Added getSupportedProviders() caching to reduce execution time.

This commit is contained in:
Cameron
2020-12-23 12:42:06 -08:00
parent c699a24ef0
commit 3cd4aa0018
5 changed files with 1252 additions and 959 deletions

View File

@@ -31,6 +31,7 @@ class e_user_providerTest extends \Codeception\Test\Unit
public function testGetSupportedProviders()
{
$result = e_user_provider::getSupportedProviders();
$this->assertIsArray($result);
$this->assertContains("Facebook", $result);
$this->assertContains("Twitter", $result);