mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add some groups legacy, functional, web, authenticated
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ACLProviderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetACL()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\AccountCreator;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class AccountCreatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Authenticator;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
use Alchemy\Phrasea\Model\Entities\Session;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class AuthenticatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Context;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ContextTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testWithValidCOntext()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Manager;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\PersistentCookie;
|
||||
use Alchemy\Phrasea\Authentication\PersistentCookie\Manager;
|
||||
use Alchemy\Phrasea\Model\Entities\Session;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\FailureHandledNativeAuthentication;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FailureHandledNativeAuthenticationTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetUsrIdWhenSuccessful()
|
||||
|
@@ -7,6 +7,10 @@ use Alchemy\Phrasea\Model\Entities\AuthFailure;
|
||||
use Gedmo\Timestampable\TimestampableListener;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FailureManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Phrasea\NativeAuthentication;
|
||||
use Alchemy\Phrasea\Authentication\Exception\AccountLockedException;
|
||||
use Alchemy\Phrasea\Model\Entities\User;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class NativeAuthenticationTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testAuthenticationSpecialUser()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\OldPasswordEncoder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class OldPasswordEncoderTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\PasswordEncoder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class PasswordEncoderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function providePasswords()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Facebook;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FacebookTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetSession()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Factory;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FactoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Github;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class GithubTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\GooglePlus;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class GooglePlusTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetGoogleClient()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Linkedin;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class LinkedinTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider\Token;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class IdentityTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testThatOffsetAreSetOnConstruct()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider\Token;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Token;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class TokenTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetIdAndProvider()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Twitter;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class TwitterTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetGuzzleClient()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Viadeo;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ViadeoTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
use Alchemy\Phrasea\Authentication\ProvidersCollection;
|
||||
use Alchemy\Phrasea\Exception\InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ProvidersCollectionTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
use Alchemy\Phrasea\Authentication\SuggestionFinder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class SuggestionFinderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testSuggestionIsFound()
|
||||
|
Reference in New Issue
Block a user