Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5afee4e

Browse files
committed
refactor: move unit tests
1 parent4bdc774 commit5afee4e

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"psr-4": {"Coding\\":"src/" }
2121
},
2222
"autoload-dev": {
23-
"psr-4": {"Coding\\Tests\\":"tests/" }
23+
"psr-4": {"Tests\\":"tests/" }
2424
},
2525
"scripts": {
2626
"post-install-cmd": [

‎tests/TestCase.php‎

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

3-
namespaceCoding\Tests;
3+
namespaceTests;
44

55
useCoding\Core;
66
useFaker\Factory;
77
useFaker\Generator;
88
useMockery\Mock;
99
usePHPUnit\Framework\TestCaseasPhpUnitTestBase;
1010

11-
class TestCaseextendsPhpunitTestBase
11+
class TestCaseextendsPhpUnitTestBase
1212
{
1313
protectedGenerator$faker;
1414
protectedstring$token;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
22

3-
namespaceCoding\Tests;
3+
namespaceTests\Unit;
44

55
useCoding\Exceptions\ApiError;
66
useCoding\Core;
77
useGuzzleHttp\Client;
88
useGuzzleHttp\Psr7\Response;
9+
useTests\TestCase;
910

1011
class CoreTestextends TestCase
1112
{
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

3-
namespaceCoding\Tests;
3+
namespaceTests\Unit;
44

55
useCoding\Core;
66
useCoding\Issue;
7+
useTests\TestCase;
78

89
class IssueTestextends TestCase
910
{
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
22

3-
namespaceCoding\Tests;
3+
namespaceTests\Unit;
44

55
useCoding\Core;
66
useCoding\Exceptions\ValidationException;
77
useCoding\Iteration;
8+
useTests\TestCase;
89

910
class IterationTestextends TestCase
1011
{
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

3-
namespaceCoding\Tests;
3+
namespaceTests\Unit;
44

55
useCoding\Issue;
66
useCoding\ProjectSetting;
7+
useTests\TestCase;
78

89
class ProjectSettingTestextends TestCase
910
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp