Commit cb8b152d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Début de correction des tests unitaires pour phpunit v7.

parent fa319b5a
......@@ -2,7 +2,7 @@
namespace UnicaenAuthTest\Provider\Role;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use UnicaenAuth\Provider\Role\DbRole;
use BjyAuthorize\Provider\Role\ObjectRepositoryProvider;
......@@ -11,7 +11,7 @@ use BjyAuthorize\Provider\Role\ObjectRepositoryProvider;
*
* @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
*/
class DbTest extends PHPUnit_Framework_TestCase
class DbTest extends TestCase
{
protected $provider;
protected $objectRepository;
......
<?php
namespace UnicaenAuthTest\Service;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use UnicaenApp\Entity\Ldap\People as LdapPeopleEntity;
use UnicaenAppTest\Entity\Ldap\TestAsset\People as LdapPeopleTestAsset;
use UnicaenAuth\Service\User;
......@@ -12,7 +12,7 @@ use ZfcUser\Authentication\Adapter\AdapterChainEvent;
*
* @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
*/
class UserTest extends PHPUnit_Framework_TestCase
class UserTest extends TestCase
{
protected $service;
protected $authModuleOptions;
......
<?php
namespace UnicaenAuthTest\View\Helper;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use UnicaenAuth\View\Helper\UserAbstract;
/**
......@@ -10,7 +10,7 @@ use UnicaenAuth\View\Helper\UserAbstract;
* @property UserAbstract $helper Description
* @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
*/
class UserAbstractTest extends PHPUnit_Framework_TestCase
class UserAbstractTest extends TestCase
{
protected $helper;
protected $authService;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment