Skip to content

Commit

Permalink
Fixes unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Apr 29, 2024
1 parent 269b095 commit 2f0b317
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/Unit/Modules/Events/Domain/CacheEventRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ public function testDeleteByUuids(): void

$this->repository->deleteAll([
'uuid' => [
'in' => [
(string)$event1->getUuid(),
(string)$event3->getUuid(),
],
(string)$event1->getUuid(),
(string)$event3->getUuid(),
],
]);
$this->assertCount(1, \iterator_to_array($this->repository->findAll()));
Expand All @@ -77,11 +75,9 @@ public function testDeleteByTypeAndUuids(): void
$this->repository->deleteAll([
'type' => 'foo',
'uuid' => [
'in' => [
(string)$event3->getUuid(),
(string)$event5->getUuid(),
(string)$event4->getUuid(),
],
(string)$event3->getUuid(),
(string)$event5->getUuid(),
(string)$event4->getUuid(),
],
]);

Expand Down

0 comments on commit 2f0b317

Please sign in to comment.