Skip to content

Commit

Permalink
Merge pull request #22 from PcComponentes/feature/update_ddd_dependency
Browse files Browse the repository at this point in the history
feat: update ddd dependencies
  • Loading branch information
calmohallag authored Sep 20, 2022
2 parents 379d7fa + bcbbce7 commit 6ffa7e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"php": "^7.4|^8.0",
"ext-json": "*",
"monolog/monolog": "^1.25|^2.0",
"pccomponentes/ddd": "^2.1|^3.0",
"pccomponentes/ddd": "^2.1|^3.0|^4.0",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/messenger": "^4.4|^5.0",
"symfony/http-foundation": "^4.4|^5.0",
Expand All @@ -47,5 +47,10 @@
"psr-4": {
"PcComponentes\\DddLogging\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
4 changes: 2 additions & 2 deletions tests/Info/InfoProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use PcComponentes\Ddd\Domain\Model\ValueObject\Uuid;
use PcComponentes\Ddd\Util\Message\AggregateMessage;
use PcComponentes\Ddd\Util\Message\SimpleMessage;
use PcComponentes\Ddd\Util\Message\ValueObject\AggregateId;
use PcComponentes\DddLogging\Info\InfoProcessor;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;

final class InfoProcessorTest extends TestCase
Expand Down Expand Up @@ -75,7 +75,7 @@ public function testShouldReturnedWithAggregateMessageInfo()
->method('value')
->willReturn($stringMessageUuid);

$aggregateIdMock = $this->createMock(Uuid::class);
$aggregateIdMock = $this->createMock(AggregateId::class);
$aggregateIdMock
->method('value')
->willReturn($stringAggregateUuid);
Expand Down

0 comments on commit 6ffa7e8

Please sign in to comment.