Skip to content

Commit 0c8028b

Browse files
🔧 Import fixtures with good namespace
1 parent a703b34 commit 0c8028b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎tests/Unit/Wrappers/RestWrapperTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
namespace Dbout\WpRestApi\Tests\Unit\Wrappers;
1010

1111
use Dbout\WpRestApi\RouteAction;
12-
use Dbout\WpRestApi\Tests\fixtures\RouteWithException;
13-
use Dbout\WpRestApi\Tests\fixtures\RouteWithNotFoundException;
14-
use Dbout\WpRestApi\Tests\fixtures\RouteWithRouteException;
12+
use Dbout\WpRestApi\Tests\Unit\fixtures\RouteWithException;
13+
use Dbout\WpRestApi\Tests\Unit\fixtures\RouteWithNotFoundException;
14+
use Dbout\WpRestApi\Tests\Unit\fixtures\RouteWithRouteException;
1515
use Dbout\WpRestApi\Wrappers\RestWrapper;
1616
use PHPUnit\Framework\TestCase;
1717

‎tests/Unit/fixtures/RouteWithException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Author: Dimitri BOUTEILLE <bonjour@dimitri-bouteille.fr>
77
*/
88

9-
namespace Dbout\WpRestApi\Tests\fixtures;
9+
namespace Dbout\WpRestApi\Tests\Unit\fixtures;
1010

1111
class RouteWithException
1212
{

‎tests/Unit/fixtures/RouteWithNotFoundException.php

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

3-
namespace Dbout\WpRestApi\Tests\fixtures;
3+
namespace Dbout\WpRestApi\Tests\Unit\fixtures;
44

55
use Dbout\WpRestApi\Exceptions\NotFoundException;
66

‎tests/Unit/fixtures/RouteWithRouteException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Author: Dimitri BOUTEILLE <bonjour@dimitri-bouteille.fr>
77
*/
88

9-
namespace Dbout\WpRestApi\Tests\fixtures;
9+
namespace Dbout\WpRestApi\Tests\Unit\fixtures;
1010

1111
use Dbout\WpRestApi\Exceptions\RouteException;
1212

0 commit comments

Comments
 (0)