File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
src/AppBundle/DataFixtures
tests/AppBundle/Controller Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Tests ;
12
+ namespace AppBundle \ DataFixtures ;
13
13
14
14
/**
15
15
* Helper class to create fixtures contents.
Original file line number Diff line number Diff line change 11
11
12
12
namespace AppBundle \DataFixtures \ORM ;
13
13
14
+ use AppBundle \DataFixtures \FixturesTrait ;
14
15
use AppBundle \Entity \Comment ;
15
16
use AppBundle \Entity \Post ;
16
17
use Doctrine \Common \DataFixtures \AbstractFixture ;
17
18
use Doctrine \Common \DataFixtures \DependentFixtureInterface ;
18
19
use Doctrine \Common \Persistence \ObjectManager ;
19
20
use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
20
21
use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
21
- use Tests \FixturesTrait ;
22
22
23
23
/**
24
24
* Defines the sample blog posts to load in the database before running the unit
Original file line number Diff line number Diff line change 11
11
12
12
namespace AppBundle \DataFixtures \ORM ;
13
13
14
+ use AppBundle \DataFixtures \FixturesTrait ;
14
15
use AppBundle \Entity \Tag ;
15
16
use Doctrine \Common \DataFixtures \AbstractFixture ;
16
17
use Doctrine \Common \Persistence \ObjectManager ;
17
- use Tests \FixturesTrait ;
18
18
19
19
/**
20
20
* Defines the sample blog tags to load in the database before running the unit
Original file line number Diff line number Diff line change 11
11
12
12
namespace Tests \AppBundle \Controller \Admin ;
13
13
14
+ use AppBundle \DataFixtures \FixturesTrait ;
14
15
use AppBundle \Entity \Post ;
15
16
use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
16
17
use Symfony \Component \HttpFoundation \Response ;
17
18
use Tests \ControllerTestTrait ;
18
- use Tests \FixturesTrait ;
19
19
20
20
/**
21
21
* Functional test for the controllers defined inside the BlogController used
Original file line number Diff line number Diff line change 11
11
12
12
namespace Tests \AppBundle \Controller ;
13
13
14
+ use AppBundle \DataFixtures \FixturesTrait ;
14
15
use AppBundle \Entity \Post ;
15
16
use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
16
17
use Symfony \Component \HttpFoundation \Response ;
17
18
use Tests \ControllerTestTrait ;
18
- use Tests \FixturesTrait ;
19
19
20
20
/**
21
21
* Functional test for the controllers defined inside BlogController.
You can’t perform that action at this time.
0 commit comments