File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1515use App \Form \DataTransformer \TagArrayToStringTransformer ;
1616use Doctrine \Common \Persistence \ObjectManager ;
1717use Doctrine \ORM \EntityRepository ;
18+ use PHPUnit \Framework \TestCase ;
1819
1920/**
2021 * Tests that tags are transformed correctly using the data transformer.
2122 *
2223 * See https://symfony.com/doc/current/testing/database.html
2324 */
24- class TagArrayToStringTransformerTest extends \ PHPUnit \ Framework \ TestCase
25+ class TagArrayToStringTransformerTest extends TestCase
2526{
2627 /**
2728 * Ensures that tags are created correctly.
Original file line number Diff line number Diff line change 1212namespace App \Tests \Utils ;
1313
1414use App \Utils \Slugger ;
15+ use PHPUnit \Framework \TestCase ;
1516
1617/**
1718 * Unit test for the application utils.
2324 * $ cd your-symfony-project/
2425 * $ ./vendor/bin/phpunit
2526 */
26- class SluggerTest extends \PHPUnit_Framework_TestCase
27+ class SluggerTest extends TestCase
2728{
2829 /**
2930 * @dataProvider getSlugs
Original file line number Diff line number Diff line change 1212namespace App \Tests \Utils ;
1313
1414use App \Utils \Validator ;
15+ use PHPUnit \Framework \TestCase ;
1516
16- class ValidatorTest extends \PHPUnit_Framework_TestCase
17+ class ValidatorTest extends TestCase
1718{
1819 private $ object ;
1920
You can’t perform that action at this time.
0 commit comments