Skip to content

Commit 14d1c36

Browse files
committed
Remove separate test namespace
1 parent ed2c144 commit 14d1c36

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"autoload-dev": {
3434
"psr-4": {
35-
"Amp\\PHPUnit\\Test\\": "test"
35+
"Amp\\PHPUnit\\": "test"
3636
}
3737
}
3838
}

test/AsyncTestCaseTest.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?php declare(strict_types=1);
22

3-
namespace Amp\PHPUnit\Test;
3+
namespace Amp\PHPUnit;
44

55
use Amp\DeferredFuture;
66
use Amp\Future;
7-
use Amp\PHPUnit\AsyncTestCase;
8-
use Amp\PHPUnit\TestException;
9-
use Amp\PHPUnit\UnhandledException;
107
use PHPUnit\Framework\AssertionFailedError;
118
use Revolt\EventLoop;
129
use function Amp\async;

test/InvalidAsyncTestCaseTest.php

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

3-
namespace Amp\PHPUnit\Test;
3+
namespace Amp\PHPUnit;
44

5-
use Amp\PHPUnit\AsyncTestCase;
65
use PHPUnit\Framework\AssertionFailedError;
76

87
class InvalidAsyncTestCaseTest extends AsyncTestCase

0 commit comments

Comments
 (0)