Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 4b9e1dd

Browse files
committed
Updated to conform with testing comp. standards
1 parent 06e0e87 commit 4b9e1dd

28 files changed

+31
-27
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
/vendor/
2-
/Tests/Functional/App/Kernel/cache/
3-
/Tests/Functional/App/Kernel/logs/
1+
./Tests/Resources/app/cache/
2+
./Tests/Resources/app/logs/
3+
composer.lock
4+
vendor

Tests/Functional/Command/RefreshCommandTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\Command;
44

5-
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Blog;
65
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\BaseTestCase;
7-
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Post;
6+
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Blog;
7+
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Post;
8+
89
use Symfony\Component\Console\Input\ArrayInput;
910
use Symfony\Component\Console\Output\NullOutput;
1011
use Symfony\Cmf\Bundle\RoutingAutoBundle\Command\RefreshCommand;

Tests/Functional/EventListener/AutoRouteListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\Subscriber;
44

5-
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Blog;
65
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\BaseTestCase;
7-
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Post;
6+
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Blog;
7+
use Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Post;
88

99
class AutoRouteListenerTest extends BaseTestCase
1010
{

Tests/Functional/App/Document/Blog.php renamed to Tests/Resources/Document/Blog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document;
3+
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document;
44

55
use Doctrine\ODM\PHPCR\Mapping\Annotations as PHPCR;
66
use Symfony\Cmf\Bundle\RoutingBundle\Mapping\Annotations as CMFRouting;

Tests/Functional/App/Document/Post.php renamed to Tests/Resources/Document/Post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document;
3+
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document;
44

55
use Doctrine\ODM\PHPCR\Mapping\Annotations as PHPCR;
66
use Symfony\Cmf\Bundle\RoutingBundle\Mapping\Annotations as CMFRouting;

Tests/Functional/App/Kernel/config/routingautoroute.yml renamed to Tests/Resources/app/config/routingautoroute.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cmf_routing_auto:
44

55
##
66
# e.g. /cms/auto-route/blog/my-blogs-title
7-
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Blog:
7+
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Blog:
88

99
# generate or use path components leading up to the final part of the path
1010
content_path:
@@ -37,7 +37,7 @@ cmf_routing_auto:
3737

3838
##
3939
# e.g. /cms/auto-route/blog/my-blogs-title/2013-04-09/my-post-title
40-
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\App\Document\Post:
40+
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Post:
4141

4242
content_path:
4343

Tests/AutoRoute/AutoRouteManagerTest.php renamed to Tests/Unit/AutoRoute/AutoRouteManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\AutoRoute;
3+
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Unit\AutoRoute;
44

55
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\AutoRouteManager;
66

Tests/AutoRoute/BuilderContextTest.php renamed to Tests/Unit/AutoRoute/BuilderContextTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\AutoRoute;
3+
namespace Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Unit\AutoRoute;
44

55
use Symfony\Cmf\Bundle\RoutingAutoBundle\AutoRoute\BuilderContext;
66

0 commit comments

Comments
 (0)