Skip to content

Commit ef20e70

Browse files
committed
Move attribute tests to the Attributes directory
1 parent e2e070c commit ef20e70

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tests/OriginAttributeTest.php renamed to tests/Attributes/OriginTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Tests\Routing;
10+
namespace Tests\Routing\Attributes;
1111

1212
use Attribute;
1313
use Framework\Routing\Attributes\Origin;
@@ -16,9 +16,9 @@
1616
use Tests\Routing\Support\UsersRouteActionsResource;
1717

1818
/**
19-
* Class OriginAttributeTest.
19+
* Class OriginTest.
2020
*/
21-
final class OriginAttributeTest extends TestCase
21+
final class OriginTest extends TestCase
2222
{
2323
public function testAttributes() : void
2424
{

tests/RouteNotFoundAttributeTest.php renamed to tests/Attributes/RouteNotFoundTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Tests\Routing;
10+
namespace Tests\Routing\Attributes;
1111

1212
use Framework\Routing\Reflector;
1313
use PHPUnit\Framework\TestCase;
1414
use Tests\Routing\Support\UsersRouteActionsPresenter;
1515
use Tests\Routing\Support\UsersRouteActionsResource;
1616

1717
/**
18-
* Class RouteNotFoundAttributeTest.
18+
* Class RouteNotFoundTest.
1919
*
2020
* @package routing
2121
*/
22-
final class RouteNotFoundAttributeTest extends TestCase
22+
final class RouteNotFoundTest extends TestCase
2323
{
2424
public function testWithOrigins() : void
2525
{

tests/RouteAttributeTest.php renamed to tests/Attributes/RouteTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Tests\Routing;
10+
namespace Tests\Routing\Attributes;
1111

1212
use Attribute;
1313
use Framework\Routing\Attributes\Route;
@@ -17,9 +17,9 @@
1717
use Tests\Routing\Support\UsersRouteActionsResource;
1818

1919
/**
20-
* Class RouteAttributeTest.
20+
* Class RouteTest.
2121
*/
22-
final class RouteAttributeTest extends TestCase
22+
final class RouteTest extends TestCase
2323
{
2424
/**
2525
* @param string $method

0 commit comments

Comments
 (0)