Skip to content

Commit

Permalink
Remove separate test namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Dec 18, 2022
1 parent ed2c144 commit 14d1c36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"autoload-dev": {
"psr-4": {
"Amp\\PHPUnit\\Test\\": "test"
"Amp\\PHPUnit\\": "test"
}
}
}
5 changes: 1 addition & 4 deletions test/AsyncTestCaseTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?php declare(strict_types=1);

namespace Amp\PHPUnit\Test;
namespace Amp\PHPUnit;

use Amp\DeferredFuture;
use Amp\Future;
use Amp\PHPUnit\AsyncTestCase;
use Amp\PHPUnit\TestException;
use Amp\PHPUnit\UnhandledException;
use PHPUnit\Framework\AssertionFailedError;
use Revolt\EventLoop;
use function Amp\async;
Expand Down
3 changes: 1 addition & 2 deletions test/InvalidAsyncTestCaseTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php declare(strict_types=1);

namespace Amp\PHPUnit\Test;
namespace Amp\PHPUnit;

use Amp\PHPUnit\AsyncTestCase;
use PHPUnit\Framework\AssertionFailedError;

class InvalidAsyncTestCaseTest extends AsyncTestCase
Expand Down

0 comments on commit 14d1c36

Please sign in to comment.