Skip to content

Commit

Permalink
test: rearrange test directories (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi authored Jun 21, 2024
1 parent 44478c2 commit dd7d416
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* feat: initial version of basic repository
* refactor: consolidate repeated orderBy logic to `OrderByUtil`
* refactor: use `configure()` method for subclasses to configure the repository
* test: rearrange test directories

## 0.3.0

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"autoload-dev": {
"psr-4": {
"Doctrine\\Tests\\Common\\Collections\\": "tests/DoctrineCollections/",
"Rekalogika\\Collections\\Tests\\": "tests/Collections/"
"Doctrine\\Tests\\Common\\Collections\\": "tests/doctrine/",
"Rekalogika\\Collections\\Tests\\": "tests/src/"
}
},
"require": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:
- packages
- tests
excludePaths:
- tests/DoctrineCollections/*
- tests/doctrine/*
ignoreErrors:

includes:
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<directory name="tests" />
<ignoreFiles>
<directory name="vendor" />
<directory name="tests/DoctrineCollections" />
<directory name="tests/doctrine" />
</ignoreFiles>
</projectFiles>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that was distributed with this source code.
*/

namespace Rekalogika\Collections\Tests;
namespace Rekalogika\Collections\Tests\UnitTests\Collections;

class Citizen
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that was distributed with this source code.
*/

namespace Rekalogika\Collections\Tests;
namespace Rekalogika\Collections\Tests\UnitTests\Collections;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that was distributed with this source code.
*/

namespace Rekalogika\Collections\Tests;
namespace Rekalogika\Collections\Tests\UnitTests\Collections;

use Doctrine\Common\Collections\ArrayCollection;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit dd7d416

Please sign in to comment.