Skip to content

Commit ba8aabe

Browse files
committed
Fixed several test classes in the wrong namespace
1 parent 4268760 commit ba8aabe

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

tests/AsyncClientTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Client\Github;
3+
namespace ApiClients\Tests\Client\Github;
44

5+
use ApiClients\Client\Github\AsyncClient;
56
use ApiClients\Client\Github\Authentication\Anonymous;
7+
use ApiClients\Client\Github\RateLimitState;
68
use ApiClients\Tools\TestUtilities\TestCase;
79
use React\EventLoop\Factory;
810

tests/ClientTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Client\Github;
3+
namespace ApiClients\Tests\Client\Github;
44

55
use ApiClients\Client\Github\Authentication\Anonymous;
6+
use ApiClients\Client\Github\Client;
7+
use ApiClients\Client\Github\RateLimitState;
68
use ApiClients\Tools\TestUtilities\TestCase;
79

810
final class ClientTest extends TestCase

tests/Middleware/RateLimitStateMiddlewareTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Client\Github;
3+
namespace ApiClients\Tests\Client\Github;
44

55
use ApiClients\Client\Github\Middleware\RateLimitStateMiddleware;
6+
use ApiClients\Client\Github\RateLimitState;
67
use ApiClients\Tools\TestUtilities\TestCase;
78
use RingCentral\Psr7\Response;
89

tests/RateLimitStateTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Client\Github;
3+
namespace ApiClients\Tests\Client\Github;
44

5+
use ApiClients\Client\Github\RateLimitState;
56
use ApiClients\Tools\TestUtilities\TestCase;
67

78
final class RateLimitStateTest extends TestCase

tests/Service/IteratePagesServiceTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Client\Github\Service;
3+
namespace ApiClients\Tests\Client\Github\Service;
44

5+
use ApiClients\Client\Github\Service\IteratePagesService;
56
use ApiClients\Foundation\Transport\ClientInterface;
67
use ApiClients\Foundation\Transport\Service\RequestService;
78
use ApiClients\Middleware\Json\JsonStream;

0 commit comments

Comments
 (0)