Skip to content

Commit c9b03fa

Browse files
authored
Merge pull request #12289 from notbakaneko/feature/move-forum-controller-tests
Move forum controller tests to matching namespace
2 parents 0f90b19 + 9f1528a commit c9b03fa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/Controllers/ForumForumsControllerTest.php renamed to tests/Controllers/Forum/ForumsControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
declare(strict_types=1);
77

8-
namespace Tests\Controllers;
8+
namespace Tests\Controllers\Forum;
99

1010
use App\Models\Forum\Forum;
1111
use Tests\TestCase;
1212

13-
class ForumForumsControllerTest extends TestCase
13+
class ForumsControllerTest extends TestCase
1414
{
1515
public function testIndex(): void
1616
{

tests/Controllers/ForumPostsControllerTest.php renamed to tests/Controllers/Forum/PostsControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
declare(strict_types=1);
77

8-
namespace Tests\Controllers;
8+
namespace Tests\Controllers\Forum;
99

1010
use App\Models\Forum\Post;
1111
use App\Models\Forum\Topic;
1212
use App\Models\User;
1313
use Tests\TestCase;
1414

15-
class ForumPostsControllerTest extends TestCase
15+
class PostsControllerTest extends TestCase
1616
{
1717
public function testDestroy(): void
1818
{

tests/Controllers/ForumTopicsControllerTest.php renamed to tests/Controllers/Forum/TopicsControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
declare(strict_types=1);
77

8-
namespace Tests\Controllers;
8+
namespace Tests\Controllers\Forum;
99

1010
use App\Models\Forum\Authorize;
1111
use App\Models\Forum\Forum;
@@ -15,7 +15,7 @@
1515
use App\Models\User;
1616
use Tests\TestCase;
1717

18-
class ForumTopicsControllerTest extends TestCase
18+
class TopicsControllerTest extends TestCase
1919
{
2020
public function testDestroy(): void
2121
{

0 commit comments

Comments
 (0)