Skip to content

Commit a46fed1

Browse files
change test from RonasIT\Tests -> RonasIT\AudoDoc\Tests
1 parent 5de4464 commit a46fed1

20 files changed

+28
-28
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
},
3737
"autoload-dev": {
3838
"psr-4": {
39-
"RonasIT\\Tests\\": "tests/",
40-
"RonasIT\\Tests\\Support\\": "tests/support/"
39+
"RonasIT\\AutoDoc\\Tests\\": "tests/",
40+
"RonasIT\\AutoDoc\\Tests\\Support\\": "tests/support/"
4141
}
4242
},
4343
"extra": {

tests/AutoDocControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use Illuminate\Http\Response;
66
use phpmock\phpunit\PHPMock;
7-
use RonasIT\Tests\Support\Traits\MockTrait;
7+
use RonasIT\AutoDoc\Tests\Support\Traits\MockTrait;
88

99
class AutoDocControllerTest extends TestCase
1010
{

tests/AutoDocMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware;
6-
use RonasIT\Tests\Support\Traits\SwaggerServiceMockTrait;
6+
use RonasIT\AutoDoc\Tests\Support\Traits\SwaggerServiceMockTrait;
77

88
class AutoDocMiddlewareTest extends TestCase
99
{

tests/LocalDriverTest.php

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

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use RonasIT\AutoDoc\Drivers\LocalDriver;
66
use Illuminate\Contracts\Filesystem\FileNotFoundException;

tests/PushDocumentationCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

5-
use RonasIT\Tests\Support\Traits\SwaggerServiceMockTrait;
5+
use RonasIT\AutoDoc\Tests\Support\Traits\SwaggerServiceMockTrait;
66

77
class PushDocumentationCommandTest extends TestCase
88
{

tests/RemoteDriverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use RonasIT\AutoDoc\Drivers\RemoteDriver;
66
use RonasIT\AutoDoc\Exceptions\MissedRemoteDocumentationUrlException;
7-
use RonasIT\Tests\Support\Traits\MockTrait;
7+
use RonasIT\AutoDoc\Tests\Support\Traits\MockTrait;
88
use Illuminate\Contracts\Filesystem\FileNotFoundException;
99

1010
class RemoteDriverTest extends TestCase

tests/StorageDriverTest.php

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

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use Illuminate\Contracts\Filesystem\FileNotFoundException;
66
use Illuminate\Contracts\Filesystem\Filesystem;

tests/SwaggerServiceTest.php

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

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use Illuminate\Http\Testing\File;
66
use PHPUnit\Framework\Attributes\DataProvider;
@@ -25,8 +25,8 @@
2525
use RonasIT\AutoDoc\Exceptions\UnsupportedDocumentationViewerException;
2626
use RonasIT\AutoDoc\Exceptions\WrongSecurityConfigException;
2727
use RonasIT\AutoDoc\Services\SwaggerService;
28-
use RonasIT\Tests\Support\Mock\TestNotificationSetting;
29-
use RonasIT\Tests\Support\Traits\SwaggerServiceMockTrait;
28+
use RonasIT\AutoDoc\Tests\Support\Mock\TestNotificationSetting;
29+
use RonasIT\AutoDoc\Tests\Support\Traits\SwaggerServiceMockTrait;
3030
use stdClass;
3131

3232
class SwaggerServiceTest extends TestCase

tests/TestCase.php

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

3-
namespace RonasIT\Tests;
3+
namespace RonasIT\AutoDoc\Tests;
44

55
use Illuminate\Filesystem\Filesystem;
66
use Illuminate\Http\Request;
@@ -9,7 +9,7 @@
99
use Illuminate\Testing\TestResponse;
1010
use Orchestra\Testbench\TestCase as BaseTest;
1111
use RonasIT\AutoDoc\AutoDocServiceProvider;
12-
use RonasIT\Tests\Support\Mock\TestController;
12+
use RonasIT\AutoDoc\Tests\Support\Mock\TestController;
1313
use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
1414
use Symfony\Component\HttpFoundation\Response;
1515

tests/fixtures/SwaggerServiceTest/tmp_data_post_user_request_with_object_params.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"first_name": "John",
100100
"last_name": "Doe",
101101
"license": "[uploaded_file]",
102-
"notification_settings": "RonasIT\\Support\\Tests\\Support\\Mock\\TestNotificationSetting"
102+
"notification_settings": "RonasIT\\AutoDoc\\Tests\\Support\\Mock\\TestNotificationSetting"
103103
},
104104
"required": ["query"]
105105
},

0 commit comments

Comments
 (0)