mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Fix unit test names, property and function visibility
This commit is contained in:
@@ -7,7 +7,7 @@ use Alchemy\Geonames\Geoname as GeonameResult;
|
||||
use Alchemy\Geonames\Exception\NotFoundException;
|
||||
use Alchemy\Geonames\Exception\TransportException;
|
||||
|
||||
class GeonameTest extends \PhraseanetPHPUnitAbstract
|
||||
class GeonameTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testAValidGeonameIsValid()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\GeonameValidator;
|
||||
|
||||
class GeonameValidatorTest extends \PhraseanetPHPUnitAbstract
|
||||
class GeonameValidatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideData
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\NewEmail;
|
||||
|
||||
class NewEmailTest extends \PhraseanetPHPUnitAbstract
|
||||
class NewEmailTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testAnUnknownAddressIsNotAlreadyRegistered()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\NewEmailValidator;
|
||||
|
||||
class NewEmailValidatorTest extends \PhraseanetPHPUnitAbstract
|
||||
class NewEmailValidatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideValidationData
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\NewLogin;
|
||||
|
||||
class NewLoginTest extends \PhraseanetPHPUnitAbstract
|
||||
class NewLoginTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testAnUnknownLoginIsNotAlreadyRegistered()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\NewLoginValidator;
|
||||
|
||||
class NewLoginValidatorTest extends \PhraseanetPHPUnitAbstract
|
||||
class NewLoginValidatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideValidationData
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
use Alchemy\Phrasea\Form\Constraint\PasswordToken;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class PasswordTokenTest extends \PhraseanetPHPUnitAbstract
|
||||
class PasswordTokenTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testInvalidTokenIsNotValid()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
|
||||
|
||||
use Alchemy\Phrasea\Form\Constraint\PasswordTokenValidator;
|
||||
|
||||
class PasswordTokenValidatorTest extends \PhraseanetPHPUnitAbstract
|
||||
class PasswordTokenValidatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider provideValidationData
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Form;
|
||||
|
||||
abstract class FormTestCase extends \PhraseanetPHPUnitAbstract
|
||||
abstract class FormTestCase extends \PhraseanetTestCase
|
||||
{
|
||||
public function testBuildForm()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Form\Type;
|
||||
|
||||
use Alchemy\Phrasea\Form\Type\GeonameType;
|
||||
|
||||
class GeonameTypeTest extends \PhraseanetPHPUnitAbstract
|
||||
class GeonameTypeTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetParent()
|
||||
{
|
||||
|
Reference in New Issue
Block a user