File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 15
15
use App \Form \DataTransformer \TagArrayToStringTransformer ;
16
16
use Doctrine \Common \Persistence \ObjectManager ;
17
17
use Doctrine \ORM \EntityRepository ;
18
+ use PHPUnit \Framework \TestCase ;
18
19
19
20
/**
20
21
* Tests that tags are transformed correctly using the data transformer.
21
22
*
22
23
* See https://symfony.com/doc/current/testing/database.html
23
24
*/
24
- class TagArrayToStringTransformerTest extends \ PHPUnit \ Framework \ TestCase
25
+ class TagArrayToStringTransformerTest extends TestCase
25
26
{
26
27
/**
27
28
* Ensures that tags are created correctly.
Original file line number Diff line number Diff line change 12
12
namespace App \Tests \Utils ;
13
13
14
14
use App \Utils \Slugger ;
15
+ use PHPUnit \Framework \TestCase ;
15
16
16
17
/**
17
18
* Unit test for the application utils.
23
24
* $ cd your-symfony-project/
24
25
* $ ./vendor/bin/phpunit
25
26
*/
26
- class SluggerTest extends \PHPUnit_Framework_TestCase
27
+ class SluggerTest extends TestCase
27
28
{
28
29
/**
29
30
* @dataProvider getSlugs
Original file line number Diff line number Diff line change 12
12
namespace App \Tests \Utils ;
13
13
14
14
use App \Utils \Validator ;
15
+ use PHPUnit \Framework \TestCase ;
15
16
16
- class ValidatorTest extends \PHPUnit_Framework_TestCase
17
+ class ValidatorTest extends TestCase
17
18
{
18
19
private $ object ;
19
20
You can’t perform that action at this time.
0 commit comments