Skip to content

Commit 86c72fa

Browse files
committed
Fix: tests
1 parent 7f54de3 commit 86c72fa

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

tests/Unit/Subscription/Serializer/SubscriberNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testNormalize(): void
7575
'list_position' => null,
7676
'subject_prefix' => null,
7777
'public' => true,
78-
'category' => '',
78+
'category' => null,
7979
'rss_feed' => null,
8080
]
8181
],

tests/Unit/Subscription/Validator/Constraint/ListExistsValidatorTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ public function testValidateThrowsUnexpectedTypeException(): void
5050
$this->validator->validate('123', $this->createMock(Constraint::class));
5151
}
5252

53-
public function testValidateThrowsUnexpectedValueException(): void
54-
{
55-
$this->expectException(UnexpectedValueException::class);
56-
$this->validator->validate(123, new ListExists());
57-
}
58-
5953
public function testValidateThrowsNotFoundExceptionIfListDoesNotExist(): void
6054
{
6155
$this->subscriberListRepository

0 commit comments

Comments
 (0)